IEdmEntityContainer Interface
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 EDM entity container.
public interface IEdmEntityContainer : Microsoft.OData.Edm.IEdmSchemaElement
type IEdmEntityContainer = interface
interface IEdmSchemaElement
interface IEdmNamedElement
interface IEdmElement
interface IEdmVocabularyAnnotatable
Public Interface IEdmEntityContainer
Implements IEdmSchemaElement
- Derived
- Implements
Properties
Elements |
Gets a collection of the elements of this entity container. |
Name |
Gets the name of this element. (Inherited from IEdmNamedElement) |
Namespace |
Gets the namespace this schema element belongs to. (Inherited from IEdmSchemaElement) |
SchemaElementKind |
Gets the kind of this schema element. (Inherited from IEdmSchemaElement) |
Methods
FindEntitySet(String) |
Searches for an entity set with the given name in this entity container and returns null if no such set exists. |
FindOperationImports(String) |
Searches for operation imports with the given name in this entity container and returns null if no such operation import exists. |
FindSingleton(String) |
Searches for a singleton with the given name in this entity container and returns null if no such singleton exists. |
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. |
AllElements(IEdmEntityContainer, Int32) | |
EntitySets(IEdmEntityContainer) |
Returns entity sets belonging to an IEdmEntityContainer. |
FullName(IEdmSchemaElement) |
Gets the full name of the element. |
Location(IEdmElement) |
Gets the location of this element. |
OperationImports(IEdmEntityContainer) |
Returns operation imports belonging to an IEdmEntityContainer. |
ShortQualifiedName(IEdmSchemaElement) |
Gets the Short Qualified name of the element. |
Singletons(IEdmEntityContainer) |
Returns singletons belonging to an IEdmEntityContainer. |
VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel) |
Gets an annotatable element's vocabulary annotations as seen from a particular model. |
ToTraceString(IEdmSchemaElement) |
Returns the text representation of the current object. |
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. |