Export (0) Print
Expand All

ExtensionMethods Class

WCF Data Services 5.0

Contains extension methods for IEdmModel interfaces.

System.Object
  Microsoft.Data.Edm.ExtensionMethods

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

public static class ExtensionMethods

The ExtensionMethods type exposes the following members.

  NameDescription
Public methodStatic memberBaseComplexType(IEdmComplexType)Gets the base complex type.
Public methodStatic memberBaseComplexType(IEdmComplexTypeReference)Gets the base complex type.
Public methodStatic memberBaseEntityType(IEdmEntityType)Gets the base entity type.
Public methodStatic memberBaseEntityType(IEdmEntityTypeReference)Gets the base entity type.
Public methodStatic memberBaseTypeGets the base type.
Public methodStatic memberCollectionDefinitionGets the collection type to which the type refers.
Public methodStatic memberComplexDefinitionGets the complex type to which the type refers.
Public methodStatic memberDeclaredNavigationProperties(IEdmEntityType)Gets the declared navigation properties with the specified type.
Public methodStatic memberDeclaredNavigationProperties(IEdmEntityTypeReference)Gets the declared navigation properties.
Public methodStatic memberDeclaredStructuralProperties(IEdmStructuredType)Gets the declared structural properties with the specified type.
Public methodStatic memberDeclaredStructuralProperties(IEdmStructuredTypeReference)Gets the declared structural properties.
Public methodStatic memberDeclaringEntityTypeGets the entity type declaring this navigation property.
Public methodStatic memberDirectValueAnnotationsGets the direct value annotations for an element.
Public methodStatic memberElementTypeGets the element type.
Public methodStatic memberEntityContainersGets the entity containers belonging to this model.
Public methodStatic memberEntityDefinitionGets the entity type to which the type refers.
Public methodStatic memberEntityReferenceDefinitionGets the entity reference type to which the type refers.
Public methodStatic memberEntitySetsGets the entity sets of the specified container.
Public methodStatic memberEntityTypeGets the entity type.
Public methodStatic memberEnumDefinitionGets the enumeration type to which the type refers.
Public methodStatic memberFindAllDerivedTypes Finds a list of types that derive from the supplied type directly or indirectly, and across models.
Public methodStatic memberFindEntityContainerSearches 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 memberFindFunctionsSearches 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 memberFindNavigationPropertySearches for a navigation property with the specified type and name.
Public methodStatic memberFindProperty(IEdmRecordExpression, String)Finds a property of a record expression.
Public methodStatic memberFindProperty(IEdmStructuredTypeReference, String)Finds a property with the specified type and name.
Public methodStatic memberFindPropertyBinding(IEdmTypeAnnotation, IEdmProperty)Gets the binding of a property of the type term of a type annotation.
Public methodStatic memberFindPropertyBinding(IEdmTypeAnnotation, String)Gets the binding of a property of the type term of a type annotation.
Public methodStatic memberFindTypeSearches for a type with the given name in this model and all referenced models and returns null if no such type exists.
Public methodStatic memberFindValueTermSearches 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 memberFindVocabularyAnnotations(IEdmModel, IEdmVocabularyAnnotatable)Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model.
Public methodStatic memberFindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm)Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic memberFindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String)Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic memberFindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmTerm, String)Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic memberFindVocabularyAnnotations<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String)Gets an annotatable element's vocabulary annotations that bind a particular term.
Public methodStatic memberFindVocabularyAnnotationsIncludingInheritedAnnotationsGets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model.
Public methodStatic memberFullName(IEdmSchemaElement)Gets the full name with the specified element.
Public methodStatic memberFullName(IEdmTypeReference)Gets the full name with the specified type.
Public methodStatic memberFunctionImportsGets the function imports of the specified container.
Public methodStatic memberGetAnnotationValue(IEdmModel, IEdmElement, String, String)Gets an annotation value corresponding to the given namespace and name provided.
Public methodStatic memberGetAnnotationValue<T>(IEdmModel, IEdmElement)Gets an annotation value from an annotatable element.
Public methodStatic memberGetAnnotationValue<T>(IEdmModel, IEdmElement, String, String)Gets an annotation value corresponding to the given namespace and name provided.
Public methodStatic memberGetAnnotationValuesRetrieves 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 memberGetDocumentationGets documentation for a specified element.
Public methodStatic memberGetEdmVersionGets the EDM version with the specified model.
Public methodStatic memberGetPropertyValue(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 memberGetPropertyValue(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 memberGetPropertyValue<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 memberGetPropertyValue<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 memberGetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue(IEdmModel, IEdmStructuredValue, IEdmValueTerm, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic memberGetTermValue(IEdmModel, IEdmStructuredValue, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic memberGetTermValue(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue(IEdmModel, IEdmStructuredValue, IEdmValueTerm, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic memberGetTermValue(IEdmModel, IEdmStructuredValue, String, String, EdmExpressionEvaluator) Gets the IEdmValue of a vocabulary term that has been applied to the type of a value.
Public methodStatic memberGetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue<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 memberGetTermValue<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 memberGetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, IEdmValueTerm, String, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue<T>(IEdmModel, IEdmVocabularyAnnotatable, String, String, EdmToClrEvaluator) Gets the CLR value of a vocabulary term that has been applied to an element.
Public methodStatic memberGetTermValue<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 memberGetTermValue<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 memberIsAbstractDetermines whether the specified type is an abstract.
Public methodStatic memberIsOpenDetermines whether the specified type is open.
Public methodStatic memberKey(IEdmEntityType)Gets the key with the specified type.
Public methodStatic memberKey(IEdmEntityTypeReference)Gets the key.
Public methodStatic memberLocationGets the location of the specified item.
Public methodStatic memberMultiplicityGets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner.
Public methodStatic memberNavigationProperties(IEdmEntityType)Gets the navigation properties with the specified type.
Public methodStatic memberNavigationProperties(IEdmEntityTypeReference)Gets the navigation properties with the specified type.
Public methodStatic memberPrimitiveDefinitionGets the primitive type to which the type refers.
Public methodStatic memberPrimitiveKindGets the primitive kind of the specified type.
Public methodStatic memberPropertiesGets the properties of the specified type.
Public methodStatic memberRowDefinitionGets the row type to which the type refers.
Public methodStatic memberSchemaElementsAcrossModelsGets all schema elements from the model, and models referenced by it.
Public methodStatic memberSetAnnotationValue(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 memberSetAnnotationValue<T>(IEdmModel, IEdmElement, T)Sets an annotation value on an annotatable element.
Public methodStatic memberSetAnnotationValuesSets 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 memberSetDocumentationSets documentation for a specified element.
Public methodStatic memberSetEdmVersionSets the EDM version with the specified model and version.
Public methodStatic memberStructuralProperties(IEdmStructuredType)Gets the structural properties with the specified type.
Public methodStatic memberStructuralProperties(IEdmStructuredTypeReference)Gets the structural properties.
Public methodStatic memberStructuredDefinitionGets the structured type to which the type refers.
Public methodStatic memberToEntityTypeGets the entity type targeted by this navigation property.
Public methodStatic memberTryGetRelativeEntitySetPathAnalyzes 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 memberTryGetStaticEntitySetAnalyzes IEdmFunctionImport.EntitySet expression and returns a static IEdmFunctionImport reference if available.
Public methodStatic memberTypeKindGets the type kind of the specified type.
Public methodStatic memberValueTermGets the value term with the specified annotation.
Public methodStatic memberVocabularyAnnotationsGets an annotatable element's vocabulary annotations as seen from a particular model.
Top

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft