EdmNavigationSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an abstract EDM navigation source.
public abstract class EdmNavigationSource : Microsoft.OData.Edm.EdmNamedElement, Microsoft.OData.Edm.IEdmNavigationSource
type EdmNavigationSource = class
inherit EdmNamedElement
interface IEdmNavigationSource
interface IEdmNamedElement
interface IEdmElement
Public MustInherit Class EdmNavigationSource
Inherits EdmNamedElement
Implements IEdmNavigationSource
- Inheritance
- Derived
- Implements
Constructors
EdmNavigationSource(String) |
Initializes a new instance of the EdmNavigationSource class. |
Properties
Name |
Gets the name of this element. (Inherited from EdmNamedElement) |
NavigationPropertyBindings |
Gets the navigation targets of this navigation source. |
Path |
Gets the path that a navigation property targets. |
Type |
Gets the type of this navigation source. |
Methods
AddNavigationTarget(IEdmNavigationProperty, IEdmNavigationSource, IEdmPathExpression) |
Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this navigation source. |
AddNavigationTarget(IEdmNavigationProperty, IEdmNavigationSource) |
Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this navigation source. |
FindNavigationPropertyBindings(IEdmNavigationProperty) |
Finds the bindings of the navigation property. |
FindNavigationTarget(IEdmNavigationProperty, IEdmPathExpression) |
Finds the navigation source that a navigation property targets. |
FindNavigationTarget(IEdmNavigationProperty) |
Finds the navigation source that a navigation property targets. |
Extension Methods
EntityType(IEdmNavigationSource) |
Return the entity type of the navigation source. |
FullNavigationSourceName(IEdmNavigationSource) |
Returns the fully qualified name of a navigation source. |
Location(IEdmElement) |
Gets the location of this element. |
NavigationSourceKind(IEdmNavigationSource) |
Return the navigation kind of the navigation source. |
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. |