Jaa


EdmPropertyConstructor Class

Definition

Represents an EDM property constructor specified as part of a EDM record construction expression.

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

Constructors

EdmPropertyConstructor(String, IEdmExpression)

Initializes a new instance of the EdmPropertyConstructor class.

Properties

Name

Gets the name of the property.

Value

Gets the expression for the value of the property.

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