IEdmNavigationProperty Interface

Represents an EDM navigation property.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Interface IEdmNavigationProperty _
    Inherits IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
'Usage
Dim instance As IEdmNavigationProperty
public interface IEdmNavigationProperty : IEdmProperty, 
    IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
public interface class IEdmNavigationProperty : IEdmProperty, 
    IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
type IEdmNavigationProperty =  
    interface 
        interface IEdmProperty 
        interface IEdmNamedElement 
        interface IEdmVocabularyAnnotatable 
        interface IEdmElement 
    end
public interface IEdmNavigationProperty extends IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement

The IEdmNavigationProperty type exposes the following members.

Properties

  Name Description
Public property ContainsTarget Gets a value indicating whether the navigation target is contained inside the navigation source.
Public property DeclaringType Gets the type that this property belongs to. (Inherited from IEdmProperty.)
Public property DependentProperties Gets the dependent properties of this navigation property, returning null if this is the principal end or if there is no referential constraint.
Public property IsPrincipal Gets a value that indicates whether this navigation property originates at the principal end of an association.
Public property Name Gets the name of this element. (Inherited from IEdmNamedElement.)
Public property OnDelete Gets the action to execute on the deletion of this end of a bidirectional association.
Public property Partner Gets the partner of this navigation property.
Public property PropertyKind Gets the kind of this property. (Inherited from IEdmProperty.)
Public property Type Gets the type of this property. (Inherited from IEdmProperty.)

Top

Extension Methods

  Name Description
Public Extension Method DeclaringEntityType Gets the entity type declaring this navigation property. (Defined by ExtensionMethods.)
Public Extension Method Errors Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. (Defined by ValidationExtensionMethods.)
Public Extension Method GetPrimary Gets the primary end of a pair of partnered navigation properties, selecting the principal end if there is one and making a stable, arbitrary choice otherwise. (Defined by SerializationExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method Multiplicity Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner. (Defined by ExtensionMethods.)
Public Extension Method ToEntityType Gets the entity type targeted by this navigation property. (Defined by ExtensionMethods.)
Public Extension Method ToTraceString Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method VocabularyAnnotations Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm Namespace