EdmVocabularyAnnotation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an EDM annotation with an immediate value.
public class EdmVocabularyAnnotation : Microsoft.OData.Edm.EdmElement, Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation
type EdmVocabularyAnnotation = class
inherit EdmElement
interface IEdmVocabularyAnnotation
interface IEdmElement
Public Class EdmVocabularyAnnotation
Inherits EdmElement
Implements IEdmVocabularyAnnotation
- Inheritance
- Implements
Constructors
EdmVocabularyAnnotation(IEdmVocabularyAnnotatable, IEdmTerm, IEdmExpression) |
Initializes a new instance of the EdmVocabularyAnnotation class. |
EdmVocabularyAnnotation(IEdmVocabularyAnnotatable, IEdmTerm, String, IEdmExpression) |
Initializes a new instance of the EdmVocabularyAnnotation class. |
Properties
Qualifier |
Gets the qualifier used to discriminate between multiple bindings of the same property or type. |
Target |
Gets the element the annotation applies to. |
Term |
Gets the term bound by the annotation. |
Value |
Gets the expression producing the value of the annotation. |
Extension Methods
GetSchemaNamespace(IEdmVocabularyAnnotation, IEdmModel) |
Gets the schema an annotation should be serialized in. |
GetSerializationLocation(IEdmVocabularyAnnotation, IEdmModel) |
Gets the location an annotation should be serialized in. |
SetSchemaNamespace(IEdmVocabularyAnnotation, IEdmModel, String) |
Sets the schema an annotation should appear in. |
SetSerializationLocation(IEdmVocabularyAnnotation, IEdmModel, Nullable<EdmVocabularyAnnotationSerializationLocation>) |
Sets the location an annotation should be serialized in. |
Location(IEdmElement) |
Gets the location of this element. |
Term(IEdmVocabularyAnnotation) |
Gets the term of this annotation. |
Errors(IEdmElement) |
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. |
IsBad(IEdmElement) |
Returns true if this element contains errors returned by the Errors(IEdmElement) method. |