Jaa


IEdmNavigationProperty Interface

Definition

Represents an EDM navigation property.

public interface IEdmNavigationProperty : Microsoft.OData.Edm.IEdmProperty
type IEdmNavigationProperty = interface
    interface IEdmProperty
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmVocabularyAnnotatable
Public Interface IEdmNavigationProperty
Implements IEdmProperty
Derived
Implements

Properties

ContainsTarget

Gets a value indicating whether the navigation target is contained inside the navigation source.

DeclaringType

Gets the type that this property belongs to.

(Inherited from IEdmProperty)
Name

Gets the name of this element.

(Inherited from IEdmNamedElement)
OnDelete

Gets the action to execute on the deletion of this end of a bidirectional association.

Partner

Gets the partner of this navigation property.

PropertyKind

Gets the kind of this property.

(Inherited from IEdmProperty)
ReferentialConstraint

Gets the referential constraint for this navigation, returning null if this is the principal end or if there is no referential constraint.

Type

Gets the type of this property.

(Inherited from IEdmProperty)

Extension Methods

GetSymbolicString(IEdmVocabularyAnnotatable)

Gets the symbolic string of an annotated element. In the next breaking change, it's better to add a property into IEdmVocabularyAnnotatable.

DeclaringEntityType(IEdmNavigationProperty)

Gets the entity type declaring this navigation property.

DependentProperties(IEdmNavigationProperty)

Gets the dependent properties of this navigation property, returning null if this is the principal entity or if there is no referential constraint.

GetPartnerPath(IEdmNavigationProperty)

Gets the partner path of a navigation property.

IsKey(IEdmProperty)

Determines whether the specified property is a key for its contained type.

IsPrincipal(IEdmNavigationProperty)

Gets whether this navigation property originates at the principal end of an association.

Location(IEdmElement)

Gets the location of this element.

PrincipalProperties(IEdmNavigationProperty)

Gets the principal properties of this navigation property, returning null if this is the principal entity or if there is no referential constraint.

TargetMultiplicity(IEdmNavigationProperty)

Gets the multiplicity of the target of this navigation.

ToEntityType(IEdmNavigationProperty)

Gets the entity type targeted by this navigation property.

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

Gets an annotatable element's vocabulary annotations as seen from a particular model.

ToTraceString(IEdmProperty)

Returns the text representation of the current object.

Errors(IEdmElement)

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.

IsBad(IEdmElement)

Returns true if this element contains errors returned by the Errors(IEdmElement) method.

Applies to