EdmEntityContainer Class
Represents an EDM entity container.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmEntityContainer
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmEntityContainer _
Inherits EdmElement _
Implements IEdmEntityContainer, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, _
IEdmElement
'Usage
Dim instance As EdmEntityContainer
public class EdmEntityContainer : EdmElement,
IEdmEntityContainer, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
public ref class EdmEntityContainer : public EdmElement,
IEdmEntityContainer, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
type EdmEntityContainer =
class
inherit EdmElement
interface IEdmEntityContainer
interface IEdmSchemaElement
interface IEdmNamedElement
interface IEdmVocabularyAnnotatable
interface IEdmElement
end
public class EdmEntityContainer extends EdmElement implements IEdmEntityContainer, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
The EdmEntityContainer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmEntityContainer | Initializes a new instance of the EdmEntityContainer class. |
Top
Properties
Name | Description | |
---|---|---|
Elements | Gets a collection of the elements of this entity container. | |
Name | Gets the name of this entity container. | |
Namespace | Gets the namespace of this entity container. | |
SchemaElementKind | Gets the kind of this schema element. |
Top
Methods
Name | Description | |
---|---|---|
AddElement | Adds an entity container element to this entity container. | |
AddEntitySet | Creates and adds an entity set to this entity container. | |
AddFunctionImport(String, IEdmTypeReference) | Creates and adds a function import to this entity container. | |
AddFunctionImport(String, IEdmTypeReference, IEdmExpression) | Creates and adds a function import to this entity container. | |
AddFunctionImport(String, IEdmTypeReference, IEdmExpression, Boolean, Boolean, Boolean) | Creates and adds a function import to this entity container. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindEntitySet | Searches for an entity set with the given name in this entity container and returns null if no such set exists. | |
FindFunctionImports | Searches for function imports with the given name in this entity container and returns null if no such function import exists. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
EntitySets | Gets the entity sets of the specified container. (Defined by ExtensionMethods.) | |
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.) | |
FullName | Gets the full name with the specified element. (Defined by ExtensionMethods.) | |
FunctionImports | Gets the function imports of the specified container. (Defined by ExtensionMethods.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
ToTraceString | Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.) | |
VocabularyAnnotations | Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.) |
Top
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.