NavigationProperty Class

NavigationProperty Class

.NET Framework (current version)
 

Represents the navigation from one entity type to another entity type in the conceptual model .

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

System.Object
  System.Data.Metadata.Edm.MetadataItem
    System.Data.Metadata.Edm.EdmMember
      System.Data.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_pubpropertyMetadataProperties

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

System_CAPS_pubpropertyName

Gets the name of this member.(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_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetDependentProperties()

Gets the foreign key properties for a navigation property that is on the dependent end of a referential constraint.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

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

For more information about how to use the NavigationProperty in a conceptual model, see NavigationProperty Element (CSDL).

.NET Framework
Available since 3.5

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

Return to top
Show:
© 2016 Microsoft