Jaa


EdmDirectValueAnnotation Class

Definition

Represents an EDM annotation with an immediate native value.

public class EdmDirectValueAnnotation : Microsoft.OData.Edm.EdmNamedElement, Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotation
type EdmDirectValueAnnotation = class
    inherit EdmNamedElement
    interface IEdmDirectValueAnnotation
    interface IEdmNamedElement
    interface IEdmElement
Public Class EdmDirectValueAnnotation
Inherits EdmNamedElement
Implements IEdmDirectValueAnnotation
Inheritance
EdmDirectValueAnnotation
Implements

Constructors

EdmDirectValueAnnotation(String, String, Object)

Initializes a new instance of the EdmDirectValueAnnotation class.

Properties

Name

Gets the name of this element.

(Inherited from EdmNamedElement)
NamespaceUri

The namespace Uri of the annotation.

Value

Gets the value of this annotation.

Extension Methods

Location(IEdmElement)

Gets the location of this element.

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.

Applies to