Share via


IEdmSingleton Interface

Definition

Represents an EDM singleton.

public interface IEdmSingleton : Microsoft.OData.Edm.IEdmEntityContainerElement, Microsoft.OData.Edm.IEdmNavigationSource
type IEdmSingleton = interface
    interface IEdmEntityContainerElement
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmVocabularyAnnotatable
    interface IEdmNavigationSource
Public Interface IEdmSingleton
Implements IEdmEntityContainerElement, IEdmNavigationSource
Derived
Implements

Properties

Container

Gets the container that contains this element.

(Inherited from IEdmEntityContainerElement)
ContainerElementKind

Gets the kind of element of this container element.

(Inherited from IEdmEntityContainerElement)
Name

Gets the name of this element.

(Inherited from IEdmNamedElement)
NavigationPropertyBindings

Gets the navigation property bindings of this navigation source.

(Inherited from IEdmNavigationSource)
Path

Gets the path of this navigation source.

(Inherited from IEdmNavigationSource)
Type

Gets the type of this navigation source.

(Inherited from IEdmNavigationSource)

Methods

FindNavigationPropertyBindings(IEdmNavigationProperty)

Finds the bindings of the navigation property.

(Inherited from IEdmNavigationSource)
FindNavigationTarget(IEdmNavigationProperty, IEdmPathExpression)

Finds the navigation source that a navigation property targets.

(Inherited from IEdmNavigationSource)
FindNavigationTarget(IEdmNavigationProperty)

Finds the navigation source that a navigation property targets.

(Inherited from IEdmNavigationSource)

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.

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.

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

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

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