IEdmVocabularyAnnotation Interface
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 vocabulary annotation.
public interface IEdmVocabularyAnnotation : Microsoft.OData.Edm.IEdmElement
type IEdmVocabularyAnnotation = interface
interface IEdmElement
Public Interface IEdmVocabularyAnnotation
Implements IEdmElement
- Derived
- Implements
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. |