NavigationProperty Class

 

Represent the edm navigation property class

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Core.Metadata.Edm.MetadataItem
    System.Data.Entity.Core.Metadata.Edm.EdmMember
      System.Data.Entity.Core.Metadata.Edm.NavigationProperty

public sealed class NavigationProperty : EdmMember

NameDescription
System_CAPS_pubpropertyBuiltInTypeKind

Gets the built-in type kind for this NavigationProperty.(Overrides MetadataItem.BuiltInTypeKind.)

System_CAPS_pubpropertyDeclaringType

Gets the type on which this member is declared.(Inherited from EdmMember.)

System_CAPS_pubpropertyDocumentation

Gets or sets the documentation associated with this type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyFromEndMember

Gets the "from" relationship end member in this navigation.

System_CAPS_pubpropertyIsStoreGeneratedComputed

Tells whether this member is marked as a Computed member in the EDM definition(Inherited from EdmMember.)

System_CAPS_pubpropertyIsStoreGeneratedIdentity

Tells whether this member's Store generated pattern is marked as Identity in the EDM definition(Inherited from EdmMember.)

System_CAPS_pubpropertyMetadataProperties

Gets the list of properties of the current type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyName

Gets or sets the name of the property. Setting this from a store-space model-convention will change the name of the database column for this property. In the conceptual model, this should align with the corresponding property from the entity class and should not be changed.(Inherited from EdmMember.)

System_CAPS_pubpropertyRelationshipType

Gets the relationship type that this navigation property operates on.

System_CAPS_pubpropertyToEndMember

Gets the "to" relationship end member of this navigation.

System_CAPS_pubpropertyTypeUsage

Gets the instance of the TypeUsage class that contains both the type of the member and facets for the type.(Inherited from EdmMember.)

NameDescription
System_CAPS_pubmethodAddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.)

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, TypeUsage, RelationshipType, RelationshipEndMember, RelationshipEndMember, IEnumerable<MetadataProperty>)

Creates a NavigationProperty instance from the specified parameters.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetDependentProperties()

Where the given navigation property is on the dependent end of a referential constraint, returns the foreign key properties. Otherwise, returns an empty set. We will return the members in the order of the principal end key properties.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemoveAnnotation(String)

Removes an annotation with the specified name.(Inherited from MetadataItem.)

System_CAPS_pubmethodToString()

Returns the name of this member.(Inherited from EdmMember.)

NameDescription
System_CAPS_pubmethodGetStoreGeneratedPatternValue(Version, DataSpace)

Obtains the StoreGeneratedPattern value of an EdmProperty, given a target version and DataSpace(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodGetStoreType(DbProviderManifest)

Get the StoreType from an EdmMember's EdmType through the DbProviderManifest(Defined by MetadataWorkspaceExtensions.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.