IMutableNavigation IMutableNavigation Interface


Represents a navigation property which can be used to navigate a relationship.

This interface is used during model creation and allows the metadata to be modified. Once the model is built, INavigation represents a ready-only view of the same metadata.

public interface IMutableNavigation : INavigation, IMutablePropertyBase, IPropertyBase, IMutableAnnotatable, IAnnotatable
Public Interface IMutableNavigation
    Inherits INavigation, IMutablePropertyBase


ClrType ClrType

Gets the type of value that this property holds.

(Inherited from IPropertyBase)

DeclaringEntityType DeclaringEntityType

Gets the type that this property belongs to.

IMutableEntityType DeclaringEntityType { get; }
ReadOnly Property DeclaringEntityType As IMutableEntityType

DeclaringType DeclaringType

Gets the type that this property belongs to.

(Inherited from IMutablePropertyBase)

FieldInfo FieldInfo

Gets the FieldInfo for the underlying CLR field that this object represents. This may be null for shadow properties or if the backing field for the property is not known.

(Inherited from IPropertyBase)

ForeignKey ForeignKey

Gets the foreign key that defines the relationship this navigation property will navigate.

IMutableForeignKey ForeignKey { get; }
ReadOnly Property ForeignKey As IMutableForeignKey

IsShadowProperty IsShadowProperty

Gets a value indicating whether this is a shadow property. A shadow property is one that does not have a corresponding property in the entity class. The current value for the property is stored in the ChangeTracker rather than being stored in instances of the entity class.

(Inherited from IPropertyBase)

Item[String] Item(String)

Gets or sets the value of the annotation with the given name.

(Inherited from IMutableAnnotatable)

Name Name

Gets the name of the property.

(Inherited from IPropertyBase)

PropertyInfo PropertyInfo

Gets the PropertyInfo for the underlying CLR property that this object represents. This may be null for shadow properties or properties mapped directly to fields.

(Inherited from IPropertyBase)


AddAnnotation(String, Object) AddAnnotation(String, Object)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from IMutableAnnotatable)

FindAnnotation(String) FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from IMutableAnnotatable)

GetAnnotations() GetAnnotations()

Gets all annotations on the current object.

(Inherited from IMutableAnnotatable)

RemoveAnnotation(String) RemoveAnnotation(String)

Removes the given annotation from this object.

(Inherited from IMutableAnnotatable)