Share via


EdmPropertyValueBinding Class

Definition

Represents a property binding specified as part of an EDM type annotation.

public class EdmPropertyValueBinding : Microsoft.OData.Edm.EdmElement, Microsoft.OData.Edm.Vocabularies.IEdmPropertyValueBinding
type EdmPropertyValueBinding = class
    inherit EdmElement
    interface IEdmPropertyValueBinding
    interface IEdmElement
Public Class EdmPropertyValueBinding
Inherits EdmElement
Implements IEdmPropertyValueBinding
Inheritance
EdmPropertyValueBinding
Implements

Constructors

EdmPropertyValueBinding(IEdmProperty, IEdmExpression)

Initializes a new instance of the EdmPropertyValueBinding class.

Properties

BoundProperty

Gets the property that is given a value by the annotation.

Value

Gets the expression producing the value of the 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