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
Public methodStatic member BaseComplexType(IEdmComplexType) Gets the base complex type.
Public methodStatic member BaseComplexType(IEdmComplexTypeReference) Gets the base complex type.
Public methodStatic member BaseEntityType(IEdmEntityType) Gets the base entity type.
Public methodStatic member BaseEntityType(IEdmEntityTypeReference) Gets the base entity type.
Public methodStatic member BaseType Gets the base type.
Public methodStatic member CollectionDefinition Gets the collection type to which the type refers.
Public methodStatic member ComplexDefinition Gets the complex type to which the type refers.
Public methodStatic member DeclaredNavigationProperties(IEdmEntityType) Gets the declared navigation properties with the specified type.
Public methodStatic member DeclaredNavigationProperties(IEdmEntityTypeReference) Gets the declared navigation properties.
Public methodStatic member DeclaredStructuralProperties(IEdmStructuredType) Gets the declared structural properties with the specified type.
Public methodStatic member DeclaredStructuralProperties(IEdmStructuredTypeReference) Gets the declared structural properties.
Public methodStatic member DeclaringEntityType Gets the entity type declaring this navigation property.
Public methodStatic member DirectValueAnnotations Gets the direct value annotations for an element.
Public methodStatic member ElementType Gets the element type.
Public methodStatic member EntityContainers Gets the entity containers belonging to this model.
Public methodStatic member EntityDefinition Gets the entity type to which the type refers.
Public methodStatic member EntityReferenceDefinition Gets the entity reference type to which the type refers.
Public methodStatic member EntitySets Gets the entity sets of the specified container.
Public methodStatic member EntityType Gets the entity type.
Public methodStatic member EnumDefinition Gets the enumeration type to which the type refers.
Public methodStatic member FindAllDerivedTypes Finds a list of types that derive from the supplied type directly or indirectly, and across models.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member FindNavigationProperty Searches for a navigation property with the specified type and name.
Public methodStatic member FindProperty(IEdmRecordExpression, String) Finds a property of a record expression.
Public methodStatic member FindProperty(IEdmStructuredTypeReference, String) Finds a property with the specified type and name.
Public methodStatic member FindPropertyBinding(IEdmTypeAnnotation, IEdmProperty) Gets the binding of a property of the type term of a type annotation.
Public methodStatic member FindPropertyBinding(IEdmTypeAnnotation, String) Gets the binding of a property of the type term of a type annotation.
Public methodStatic member FindType Searches for a type with the given name in this model and all referenced models and returns null if no such type exists.
Public methodStatic member 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.
Public methodStatic member FindVocabularyAnnotations(IEdmModel, IEdmVocabularyAnnotatable) Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model.
Public methodStatic member FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm) Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic member FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String) Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic member FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String) Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic member FindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String) Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic member FindVocabularyAnnotationsIncludingInheritedAnnotations Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model.
Public methodStatic member FullName(IEdmSchemaElement) Gets the full name with the specified element.
Public methodStatic member FullName(IEdmTypeReference) Gets the full name with the specified type.
Public methodStatic member FunctionImports Gets the function imports of the specified container.
Public methodStatic member GetAnnotationValue(IEdmModel, IEdmElement, String, String) Gets an annotation value corresponding to the given namespace and name provided.
Public methodStatic member GetAnnotationValue<T>(IEdmModel, IEdmElement) Gets an annotation value from an annotatable element.
Public methodStatic member GetAnnotationValue<T>(IEdmModel, IEdmElement, String, String) Gets an annotation value corresponding to the given namespace and name provided.
Public methodStatic member 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.
Public methodStatic member GetDocumentation Gets documentation for a specified element.
Public methodStatic member GetEdmVersion Gets the EDM version with the specified model.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic member GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic member GetTermValue(IEdmModel, IEdmStructuredValue, IEdmValueTerm, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic member GetTermValue(IEdmModel, IEdmStructuredValue, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic member GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic member GetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic member GetTermValue(IEdmModel, IEdmStructuredValue, IEdmValueTerm, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic member GetTermValue(IEdmModel, IEdmStructuredValue, String, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic member GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic member GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic member GetTermValue<T>(IEdmModel, IEdmStructuredValue, IEdmValueTerm, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to the type of a value.
Public methodStatic member GetTermValue<T>(IEdmModel, IEdmStructuredValue, String, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to the type of a value.
Public methodStatic member GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic member GetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member HasDeclaredKeyProperty Checks whether the given entity type has the property as one of the key properties.
Public methodStatic member IsAbstract Determines whether the specified type is an abstract.
Public methodStatic member IsOpen Determines whether the specified type is open.
Public methodStatic member Key(IEdmEntityType) Gets the key with the specified type.
Public methodStatic member Key(IEdmEntityTypeReference) Gets the key.
Public methodStatic member Location Gets the location of the specified item.
Public methodStatic member Multiplicity Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner.
Public methodStatic member NavigationProperties(IEdmEntityType) Gets the navigation properties with the specified type.
Public methodStatic member NavigationProperties(IEdmEntityTypeReference) Gets the navigation properties with the specified type.
Public methodStatic member PrimitiveDefinition Gets the primitive type to which the type refers.
Public methodStatic member PrimitiveKind Gets the primitive kind of the specified type.
Public methodStatic member Properties Gets the properties of the specified type.
Public methodStatic member RowDefinition Gets the row type to which the type refers.
Public methodStatic member SchemaElementsAcrossModels Gets all schema elements from the model, and models referenced by it.
Public methodStatic member 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.
Public methodStatic member SetAnnotationValue<T>(IEdmModel, IEdmElement, T) Sets an annotation value on an annotatable element.
Public methodStatic member 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.
Public methodStatic member SetDocumentation Sets documentation for a specified element.
Public methodStatic member SetEdmVersion Sets the EDM version with the specified model and version.
Public methodStatic member StructuralProperties(IEdmStructuredType) Gets the structural properties with the specified type.
Public methodStatic member StructuralProperties(IEdmStructuredTypeReference) Gets the structural properties.
Public methodStatic member StructuredDefinition Gets the structured type to which the type refers.
Public methodStatic member ToEntityType Gets the entity type targeted by this navigation property.
Public methodStatic member 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.
Public methodStatic member TryGetStaticEntitySet Analyzes IEdmFunctionImport.EntitySet expression and returns a static IEdmFunctionImport reference if available.
Public methodStatic member TypeKind Gets the type kind of the specified type.
Public methodStatic member ValueTerm Gets the value term with the specified annotation.
Public methodStatic member 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.

See Also

Reference

Microsoft.Data.Edm Namespace