EdmCoreModel Class
Provides predefined declarations relevant to EDM semantics.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmCoreModel
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmCoreModel _
Inherits EdmElement _
Implements IEdmModel, IEdmElement
'Usage
Dim instance As EdmCoreModel
public class EdmCoreModel : EdmElement,
IEdmModel, IEdmElement
public ref class EdmCoreModel : public EdmElement,
IEdmModel, IEdmElement
type EdmCoreModel =
class
inherit EdmElement
interface IEdmModel
interface IEdmElement
end
public class EdmCoreModel extends EdmElement implements IEdmModel, IEdmElement
The EdmCoreModel type exposes the following members.
Properties
Name | Description | |
---|---|---|
DirectValueAnnotationsManager | Gets the annotations manager of the model. | |
Namespace | Gets the namespace of this core model. | |
ReferencedModels | Gets the collection of models referred to by this model. | |
SchemaElements | Gets the collection of schema elements that are contained in this core model. | |
VocabularyAnnotations | Gets the collection of vocabulary annotations that are contained in this core model. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindDeclaredEntityContainer | Searches for an entity container with the given name in this model and returns null if no such entity container exists. | |
FindDeclaredFunctions | Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. | |
FindDeclaredType | Searches for a type with the given name in this model and returns null if no such type exists. | |
FindDeclaredValueTerm | Searches for a value term with the given name in this model and returns null if no such value term exists. | |
FindDeclaredVocabularyAnnotations | Searches for vocabulary annotations specified by this model or a referenced model for a given element. | |
FindDirectlyDerivedTypes | Finds a list of types that derive from the supplied type. | |
GetBinary(Boolean) | Gets a reference to a binary type. | |
GetBinary(Boolean, Nullable<Int32>, Nullable<Boolean>, Boolean) | Gets a reference to a binary type. | |
GetBoolean | Gets a reference to a Boolean type. | |
GetByte | Gets a reference to a byte type. | |
GetCollection | Gets a reference to a collection type. | |
GetDateTime | Gets a reference to a datetime primitive type definition. | |
GetDateTimeOffset | Gets a reference to a datetime with offset primitive type definition. | |
GetDecimal(Boolean) | Gets a reference to a decimal type. | |
GetDecimal(Nullable<Int32>, Nullable<Int32>, Boolean) | Gets a reference to a decimal type. | |
GetDouble | Gets a reference to a double type. | |
GetGuid | Gets a reference to a GUID type. | |
GetHashCode | (Inherited from Object.) | |
GetInt16 | Gets a reference to an Int16 type. | |
GetInt32 | Gets a reference to an Int32 type. | |
GetInt64 | Gets a reference to an Int64 type. | |
GetPrimitive | Gets a reference to a primitive type. | |
GetPrimitiveType | Gets a definition of a primitive type. | |
GetPrimitiveTypeKind | Gets the kind of the primitive type. | |
GetSByte | Gets a reference to a SByte type. | |
GetSingle | Gets a reference to a single type. | |
GetSpatial(EdmPrimitiveTypeKind, Boolean) | Gets a reference to a spatial type. | |
GetSpatial(EdmPrimitiveTypeKind, Nullable<Int32>, Boolean) | Gets a reference to a spatial type. | |
GetStream | Gets a reference to a stream type. | |
GetString(Boolean) | Gets a reference to a string type. | |
GetString(Boolean, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, Boolean) | Gets a reference to a string type. | |
GetTemporal(EdmPrimitiveTypeKind, Boolean) | Gets a reference to a temporal primitive type definition. | |
GetTemporal(EdmPrimitiveTypeKind, Nullable<Int32>, Boolean) | Gets a reference to a temporal primitive type definition. | |
GetTime | Gets a reference to a time primitive type definition. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
DirectValueAnnotations | Gets the direct value annotations for an element. (Defined by ExtensionMethods.) | |
EntityContainers | Gets the entity containers belonging to this model. (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.) | |
FindAllDerivedTypes | Finds a list of types that derive from the supplied type directly or indirectly, and across models. (Defined by ExtensionMethods.) | |
FindEntityContainer | Searches for an entity container with the given name in this model and all referenced models and returns null if no such entity container exists. (Defined by ExtensionMethods.) | |
FindFunctions | Searches for functions with the given name in this model and all referenced models and returns an empty enumerable if no such functions exist. (Defined by ExtensionMethods.) | |
FindType | Searches for a type with the given name in this model and all referenced models and returns null if no such type exists. (Defined by ExtensionMethods.) | |
FindValueTerm | Searches for a value term with the given name in this model and all referenced models and returns null if no such value term exists. (Defined by ExtensionMethods.) | |
FindVocabularyAnnotations(IEdmVocabularyAnnotatable) | Overloaded. Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. (Defined by ExtensionMethods.) | |
FindVocabularyAnnotations<T>(IEdmVocabularyAnnotatable, IEdmTerm) | Overloaded. Gets an annotatable element's vocabulary annotations that bind a particular term. (Defined by ExtensionMethods.) | |
FindVocabularyAnnotations<T>(IEdmVocabularyAnnotatable, String) | Overloaded. Gets an annotatable element's vocabulary annotations that bind a particular term. (Defined by ExtensionMethods.) | |
FindVocabularyAnnotations<T>(IEdmVocabularyAnnotatable, IEdmTerm, String) | Overloaded. Gets an annotatable element's vocabulary annotations that bind a particular term. (Defined by ExtensionMethods.) | |
FindVocabularyAnnotations<T>(IEdmVocabularyAnnotatable, String, String) | Overloaded. Gets an annotatable element's vocabulary annotations that bind a particular term. (Defined by ExtensionMethods.) | |
FindVocabularyAnnotationsIncludingInheritedAnnotations | Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. (Defined by ExtensionMethods.) | |
GetAnnotationValue(IEdmElement, String, String) | Overloaded. Gets an annotation value corresponding to the given namespace and name provided. (Defined by ExtensionMethods.) | |
GetAnnotationValue<T>(IEdmElement) | Overloaded. Gets an annotation value from an annotatable element. (Defined by ExtensionMethods.) | |
GetAnnotationValue<T>(IEdmElement, String, String) | Overloaded. Gets an annotation value corresponding to the given namespace and name provided. (Defined by ExtensionMethods.) | |
GetAnnotationValues | Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. (Defined by ExtensionMethods.) | |
GetAssociationAnnotations | Gets the annotations associated with the association serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
GetAssociationEndName | Gets the name used for the association end serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
GetAssociationFullName | Gets the fully-qualified name used for the association serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
GetAssociationName | Gets the name used for the association serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
GetAssociationNamespace | Gets the namespace used for the association serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
GetAssociationSetAnnotations | Gets the annotations associated with the association serialized for a navigation target of an entity set. (Defined by SerializationExtensionMethods.) | |
GetAssociationSetName | Gets the name used for the association set serialized for a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
GetDataServiceVersion | Gets the version used for the data service of a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
GetDocumentation | Gets documentation for a specified element. (Defined by ExtensionMethods.) | |
GetEdmVersion | Gets the EDM version with the specified model. (Defined by ExtensionMethods.) | |
GetEdmxVersion | Gets the version used for the edmx of a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
GetMaxDataServiceVersion | Gets the version of the maximum data service for a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
GetNamespaceAlias | Gets the serialization alias for a given namespace. (Defined by SerializationExtensionMethods.) | |
GetNamespacePrefixMappings | Gets the prefix mappings of the namespace for a navigation property. (Defined by SerializationExtensionMethods.) | |
GetPropertyValue(IEdmStructuredValue, IEdmProperty, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a property of a term type that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetPropertyValue(IEdmStructuredValue, IEdmProperty, String, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a property of a term type that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetPropertyValue<T>(IEdmStructuredValue, IEdmProperty, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a property of a term type that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetPropertyValue<T>(IEdmStructuredValue, IEdmProperty, String, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a property of a term type that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmStructuredValue, String, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmStructuredValue, IEdmValueTerm, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmVocabularyAnnotatable, String, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to an element. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmVocabularyAnnotatable, IEdmValueTerm, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to an element. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmStructuredValue, String, String, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmStructuredValue, IEdmValueTerm, String, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmVocabularyAnnotatable, String, String, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to an element. (Defined by ExtensionMethods.) | |
GetTermValue(IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmExpressionEvaluator) | Overloaded. Gets the IEdmValue of a vocabulary term that has been applied to an element. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmStructuredValue, String, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmStructuredValue, IEdmValueTerm, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmVocabularyAnnotatable, String, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to an element. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmVocabularyAnnotatable, IEdmValueTerm, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to an element. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmStructuredValue, String, String, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmStructuredValue, IEdmValueTerm, String, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to the type of a value. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmVocabularyAnnotatable, String, String, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to an element. (Defined by ExtensionMethods.) | |
GetTermValue<T>(IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmToClrEvaluator) | Overloaded. Gets the CLR value of a vocabulary term that has been applied to an element. (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.) | |
SchemaElementsAcrossModels | Gets all schema elements from the model, and models referenced by it. (Defined by ExtensionMethods.) | |
SetAnnotationValue(IEdmElement, String, String, Object) | Overloaded. Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. (Defined by ExtensionMethods.) | |
SetAnnotationValue<T>(IEdmElement, T) | Overloaded. Sets an annotation value on an annotatable element. (Defined by ExtensionMethods.) | |
SetAnnotationValues | Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. (Defined by ExtensionMethods.) | |
SetAssociationAnnotations | Sets the annotations for the association serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
SetAssociationEndName | Sets the name used for the association end serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
SetAssociationName | Sets the name used for the association serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
SetAssociationNamespace | Sets the namespace used for the association serialized for a navigation property. (Defined by SerializationExtensionMethods.) | |
SetAssociationSetAnnotations | Sets the annotations for the association set serialized for a navigation target of an entity set. (Defined by SerializationExtensionMethods.) | |
SetAssociationSetName | Sets the name used for the association set serialized for a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
SetDataServiceVersion | Sets the version used for the data service of a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
SetDocumentation | Sets documentation for a specified element. (Defined by ExtensionMethods.) | |
SetEdmVersion | Sets the EDM version with the specified model and version. (Defined by ExtensionMethods.) | |
SetEdmxVersion | Sets the version used for the edmx of a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
SetMaxDataServiceVersion | Sets the version of the maximum data service for a navigation property of an entity set. (Defined by SerializationExtensionMethods.) | |
SetNamespaceAlias | Sets the serialization alias for a given namespace (Defined by SerializationExtensionMethods.) | |
SetNamespacePrefixMappings | Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces. (Defined by SerializationExtensionMethods.) | |
TryWriteCsdl(XmlWriter, IEnumerable<EdmError>%) | Overloaded. Outputs a CSDL artifact to the provided writer. (Defined by CsdlWriter.) | |
TryWriteCsdl(Func<String, XmlWriter>, IEnumerable<EdmError>%) | Overloaded. (Defined by CsdlWriter.) | |
Validate(IEnumerable<EdmError>%) | Overloaded. Validates the IEdmModel and all of its properties using the current version of the model. If the model has no version, IEdmModel is used. (Defined by EdmValidator.) | |
Validate(Version, IEnumerable<EdmError>%) | Overloaded. Validates the IEdmModel and all of its properties given certain version. (Defined by EdmValidator.) | |
Validate(ValidationRuleSet, IEnumerable<EdmError>%) | Overloaded. Validates the IEdmModel and all of its properties given certain version. (Defined by EdmValidator.) |
Top
Fields
Name | Description | |
---|---|---|
Instance | Represents the core model instance. |
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.