Share via


EdmEntitySet Class

Represents an EDM entity set.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.EdmNamedElement
      Microsoft.Data.Edm.Library.EdmEntitySet

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

Syntax

'Declaration
Public Class EdmEntitySet _
    Inherits EdmNamedElement _
    Implements IEdmEntitySet, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable,  _
    IEdmElement
'Usage
Dim instance As EdmEntitySet
public class EdmEntitySet : EdmNamedElement, 
    IEdmEntitySet, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
public ref class EdmEntitySet : public EdmNamedElement, 
    IEdmEntitySet, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
type EdmEntitySet =  
    class 
        inherit EdmNamedElement 
        interface IEdmEntitySet 
        interface IEdmEntityContainerElement 
        interface IEdmNamedElement 
        interface IEdmVocabularyAnnotatable 
        interface IEdmElement 
    end
public class EdmEntitySet extends EdmNamedElement implements IEdmEntitySet, IEdmEntityContainerElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement

The EdmEntitySet type exposes the following members.

Constructors

  Name Description
Public method EdmEntitySet Initializes a new instance of the EdmEntitySet class.

Top

Properties

  Name Description
Public property Container Gets the container of this entity set.
Public property ContainerElementKind Gets the kind of container element.
Public property ElementType Gets the entity type of the element.
Public property Name Gets the name of this element. (Inherited from EdmNamedElement.)
Public property NavigationTargets Gets the navigation targets of this entity set.

Top

Methods

  Name Description
Public method AddNavigationTarget Adds a navigation target specifying the destination entity set of a navigation property of an entity in this entity set.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindNavigationTarget Finds the entity set that a navigation property targets.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
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 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 VocabularyAnnotations Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.)

Top

Remarks

No content here will be updated; please do not add material here.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Edm.Library Namespace