Share via


IEdmEntityType Interface

Represents a definition of an EDM entity type.

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

Syntax

'Declaration
Public Interface IEdmEntityType _
    Inherits IEdmStructuredType, IEdmSchemaType, IEdmType, IEdmTerm,  _
    IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
'Usage
Dim instance As IEdmEntityType
public interface IEdmEntityType : IEdmStructuredType, 
    IEdmSchemaType, IEdmType, IEdmTerm, IEdmSchemaElement, IEdmNamedElement, 
    IEdmVocabularyAnnotatable, IEdmElement
public interface class IEdmEntityType : IEdmStructuredType, 
    IEdmSchemaType, IEdmType, IEdmTerm, IEdmSchemaElement, IEdmNamedElement, 
    IEdmVocabularyAnnotatable, IEdmElement
type IEdmEntityType =  
    interface 
        interface IEdmStructuredType 
        interface IEdmSchemaType 
        interface IEdmType 
        interface IEdmTerm 
        interface IEdmSchemaElement 
        interface IEdmNamedElement 
        interface IEdmVocabularyAnnotatable 
        interface IEdmElement 
    end
public interface IEdmEntityType extends IEdmStructuredType, IEdmSchemaType, IEdmType, IEdmTerm, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement

The IEdmEntityType type exposes the following members.

Properties

  Name Description
Public property BaseType Gets the base type of this type. (Inherited from IEdmStructuredType.)
Public property DeclaredKey Gets the structural properties of the entity type that make up the entity key.
Public property DeclaredProperties Gets the properties declared immediately within this type. (Inherited from IEdmStructuredType.)
Public property IsAbstract Gets a value indicating whether this type is abstract. (Inherited from IEdmStructuredType.)
Public property IsOpen Gets a value indicating whether this type is open. (Inherited from IEdmStructuredType.)
Public property Name Gets the name of this element. (Inherited from IEdmNamedElement.)
Public property Namespace Gets the namespace this schema element belongs to. (Inherited from IEdmSchemaElement.)
Public property SchemaElementKind Gets the kind of this schema element. (Inherited from IEdmSchemaElement.)
Public property TermKind Gets the kind of a term. (Inherited from IEdmTerm.)
Public property TypeKind Gets the kind of this type. (Inherited from IEdmType.)

Top

Methods

  Name Description
Public method FindProperty Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. (Inherited from IEdmStructuredType.)

Top

Extension Methods

  Name Description
Public Extension Method BaseEntityType Gets the base entity type. (Defined by ExtensionMethods.)
Public Extension Method DeclaredNavigationProperties Gets the declared navigation properties with the specified type. (Defined by ExtensionMethods.)
Public Extension Method DeclaredStructuralProperties Gets the declared structural properties with the specified type. (Defined by ExtensionMethods.)
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 FullName Gets the full name with the specified element. (Defined by ExtensionMethods.)
Public Extension Method HasDeclaredKeyProperty Checks whether the given entity type has the property as one of the key properties. (Defined by ExtensionMethods.)
Public Extension Method InheritsFrom Determines whether the potential base type is in the inheritance hierarchy of the type being tested. (Defined by EdmTypeSemantics.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method IsEquivalentTo Indicates a value whether the compared type is semantically equivalent to this type. (Defined by EdmElementComparer.)
Public Extension Method IsOrInheritsFrom Determines whether a type is equivalent to or derived from another type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSpatial Determines whether this definition refers to a spatial type. (Defined by EdmTypeSemantics.)
Public Extension Method Key Gets the key with the specified type. (Defined by ExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method NavigationProperties Gets the navigation properties with the specified type. (Defined by ExtensionMethods.)
Public Extension Method Properties Gets the properties of the specified type. (Defined by ExtensionMethods.)
Public Extension Method StructuralProperties Gets the structural properties with the specified type. (Defined by ExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method VocabularyAnnotations Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm Namespace