Delen via


EdmEntitySet Class

Definition

Represents an EDM entity set.

public class EdmEntitySet : Microsoft.OData.Edm.EdmEntitySetBase, Microsoft.OData.Edm.IEdmEntitySet
type EdmEntitySet = class
    inherit EdmEntitySetBase
    interface IEdmEntitySet
    interface IEdmEntitySetBase
    interface IEdmNavigationSource
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmEntityContainerElement
    interface IEdmVocabularyAnnotatable
Public Class EdmEntitySet
Inherits EdmEntitySetBase
Implements IEdmEntitySet
Inheritance
Implements

Constructors

EdmEntitySet(IEdmEntityContainer, String, IEdmEntityType, Boolean)

Initializes a new instance of the EdmEntitySet class.

EdmEntitySet(IEdmEntityContainer, String, IEdmEntityType)

Initializes a new instance of the EdmEntitySet class.

Properties

Container

Gets the container of this entity set.

ContainerElementKind

Gets the kind of element of this container element.

IncludeInServiceDocument

Gets a value indicating whether the entity set is included in the service document.

Name

Gets the name of this element.

(Inherited from EdmNamedElement)
NavigationPropertyBindings

Gets the navigation targets of this navigation source.

(Inherited from EdmNavigationSource)
Path

Gets the path that a navigation property targets.

Type

Gets the type of this entity set.

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.

(Inherited from EdmNavigationSource)
AddNavigationTarget(IEdmNavigationProperty, IEdmNavigationSource)

Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this navigation source.

(Inherited from EdmNavigationSource)
FindNavigationPropertyBindings(IEdmNavigationProperty)

Finds the bindings of the navigation property.

(Inherited from EdmNavigationSource)
FindNavigationTarget(IEdmNavigationProperty, IEdmPathExpression)

Finds the navigation source that a navigation property targets.

(Inherited from EdmNavigationSource)
FindNavigationTarget(IEdmNavigationProperty)

Finds the navigation source that a navigation property targets.

(Inherited from EdmNavigationSource)

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