ExtensionMethods Class
Contains extension methods for IEdmModel interfaces.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.ExtensionMethods
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ExtensionMethods
'Usage
public static class ExtensionMethods
[ExtensionAttribute]
public ref class ExtensionMethods abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ExtensionMethods = class end
public final class ExtensionMethods
The ExtensionMethods type exposes the following members.
Methods
Name | Description | |
---|---|---|
BaseComplexType(IEdmComplexType) | Gets the base complex type. | |
BaseComplexType(IEdmComplexTypeReference) | Gets the base complex type. | |
BaseEntityType(IEdmEntityType) | Gets the base entity type. | |
BaseEntityType(IEdmEntityTypeReference) | Gets the base entity type. | |
BaseType | Gets the base type. | |
CollectionDefinition | Gets the collection type to which the type refers. | |
ComplexDefinition | Gets the complex type to which the type refers. | |
DeclaredNavigationProperties(IEdmEntityType) | Gets the declared navigation properties with the specified type. | |
DeclaredNavigationProperties(IEdmEntityTypeReference) | Gets the declared navigation properties. | |
DeclaredStructuralProperties(IEdmStructuredType) | Gets the declared structural properties with the specified type. | |
DeclaredStructuralProperties(IEdmStructuredTypeReference) | Gets the declared structural properties. | |
DeclaringEntityType | Gets the entity type declaring this navigation property. | |
DirectValueAnnotations | Gets the direct value annotations for an element. | |
ElementType | Gets the element type. | |
EntityContainers | Gets the entity containers belonging to this model. | |
EntityDefinition | Gets the entity type to which the type refers. | |
EntityReferenceDefinition | Gets the entity reference type to which the type refers. | |
EntitySets | Gets the entity sets of the specified container. | |
EntityType | Gets the entity type. | |
EnumDefinition | Gets the enumeration type to which the type refers. | |
FindAllDerivedTypes | Finds a list of types that derive from the supplied type directly or indirectly, and across models. | |
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. | |
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. | |
FindNavigationProperty | Searches for a navigation property with the specified type and name. | |
FindProperty(IEdmRecordExpression, String) | Finds a property of a record expression. | |
FindProperty(IEdmStructuredTypeReference, String) | Finds a property with the specified type and name. | |
FindPropertyBinding(IEdmTypeAnnotation, IEdmProperty) | Gets the binding of a property of the type term of a type annotation. | |
FindPropertyBinding(IEdmTypeAnnotation, String) | Gets the binding of a property of the type term of a type annotation. | |
FindType | Searches for a type with the given name in this model and all referenced models and returns null if no such type exists. | |
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. | |
FindVocabularyAnnotations(IEdmModel, IEdmVocabularyAnnotatable) | Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. | |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm) | Gets an annotatable element's vocabulary annotations that bind a particular term. | |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String) | Gets an annotatable element's vocabulary annotations that bind a particular term. | |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String) | Gets an annotatable element's vocabulary annotations that bind a particular term. | |
FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String) | Gets an annotatable element's vocabulary annotations that bind a particular term. | |
FindVocabularyAnnotationsIncludingInheritedAnnotations | Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. | |
FullName(IEdmSchemaElement) | Gets the full name with the specified element. | |
FullName(IEdmTypeReference) | Gets the full name with the specified type. | |
FunctionImports | Gets the function imports of the specified container. | |
GetAnnotationValue(IEdmModel, IEdmElement, String, String) | Gets an annotation value corresponding to the given namespace and name provided. | |
GetAnnotationValue<T>(IEdmModel, IEdmElement) | Gets an annotation value from an annotatable element. | |
GetAnnotationValue<T>(IEdmModel, IEdmElement, String, String) | Gets an annotation value corresponding to the given namespace and name provided. | |
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. | |
GetDocumentation | Gets documentation for a specified element. | |
GetEdmVersion | Gets the EDM version with the specified model. | |
GetPropertyValue(IEdmModel, IEdmStructuredValue, IEdmProperty, EdmExpressionEvaluator) | Gets the IEdmValue of a property of a term type that has been applied to the type of a value. | |
GetPropertyValue(IEdmModel, IEdmStructuredValue, IEdmProperty, String, EdmExpressionEvaluator) | Gets the IEdmValue of a property of a term type that has been applied to the type of a value. | |
GetPropertyValue<T>(IEdmModel, IEdmStructuredValue, IEdmProperty, EdmToClrEvaluator) | Gets the CLR value of a property of a term type that has been applied to the type of a value. | |
GetPropertyValue<T>(IEdmModel, IEdmStructuredValue, IEdmProperty, String, EdmToClrEvaluator) | Gets the CLR value of a property of a term type that has been applied to the type of a value. | |
GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to an element. | |
GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to an element. | |
GetTermValue(IEdmModel, IEdmStructuredValue, IEdmValueTerm, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. | |
GetTermValue(IEdmModel, IEdmStructuredValue, String, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. | |
GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to an element. | |
GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to an element. | |
GetTermValue(IEdmModel, IEdmStructuredValue, IEdmValueTerm, String, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. | |
GetTermValue(IEdmModel, IEdmStructuredValue, String, String, EdmExpressionEvaluator) | Gets the IEdmValue of a vocabulary term that has been applied to the type of a value. | |
GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to an element. | |
GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to an element. | |
GetTermValue<T>(IEdmModel, IEdmStructuredValue, IEdmValueTerm, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to the type of a value. | |
GetTermValue<T>(IEdmModel, IEdmStructuredValue, String, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to the type of a value. | |
GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to an element. | |
GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to an element. | |
GetTermValue<T>(IEdmModel, IEdmStructuredValue, IEdmValueTerm, String, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to the type of a value. | |
GetTermValue<T>(IEdmModel, IEdmStructuredValue, String, String, EdmToClrEvaluator) | Gets the CLR value of a vocabulary term that has been applied to the type of a value. | |
IsAbstract | Determines whether the specified type is an abstract. | |
IsOpen | Determines whether the specified type is open. | |
Key(IEdmEntityType) | Gets the key with the specified type. | |
Key(IEdmEntityTypeReference) | Gets the key. | |
Location | Gets the location of the specified item. | |
Multiplicity | Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner. | |
NavigationProperties(IEdmEntityType) | Gets the navigation properties with the specified type. | |
NavigationProperties(IEdmEntityTypeReference) | Gets the navigation properties with the specified type. | |
PrimitiveDefinition | Gets the primitive type to which the type refers. | |
PrimitiveKind | Gets the primitive kind of the specified type. | |
Properties | Gets the properties of the specified type. | |
RowDefinition | Gets the row type to which the type refers. | |
SchemaElementsAcrossModels | Gets all schema elements from the model, and models referenced by it. | |
SetAnnotationValue(IEdmModel, IEdmElement, String, String, Object) | 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. | |
SetAnnotationValue<T>(IEdmModel, IEdmElement, T) | Sets an annotation value on an annotatable element. | |
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. | |
SetDocumentation | Sets documentation for a specified element. | |
SetEdmVersion | Sets the EDM version with the specified model and version. | |
StructuralProperties(IEdmStructuredType) | Gets the structural properties with the specified type. | |
StructuralProperties(IEdmStructuredTypeReference) | Gets the structural properties. | |
StructuredDefinition | Gets the structured type to which the type refers. | |
ToEntityType | Gets the entity type targeted by this navigation property. | |
TryGetRelativeEntitySetPath | Analyzes IEdmFunctionImport.EntitySet expression and returns a relative path to an IEdmEntitySet if available. The path starts with the parameter and may have optional sequence of IEdmNavigationProperty and type casts segments. | |
TryGetStaticEntitySet | Analyzes IEdmFunctionImport.EntitySet expression and returns a static IEdmFunctionImport reference if available. | |
TypeKind | Gets the type kind of the specified type. | |
ValueTerm | Gets the value term with the specified annotation. | |
VocabularyAnnotations | Gets an annotatable element's vocabulary annotations as seen from a particular model. |
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.