Jaa


EdmRecordExpression Class

Definition

Represents an EDM record construction expression.

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

Constructors

EdmRecordExpression(IEdmPropertyConstructor[])

Initializes a new instance of the EdmRecordExpression class.

EdmRecordExpression(IEdmStructuredTypeReference, IEdmPropertyConstructor[])

Initializes a new instance of the EdmRecordExpression class.

EdmRecordExpression(IEdmStructuredTypeReference, IEnumerable<IEdmPropertyConstructor>)

Initializes a new instance of the EdmRecordExpression class.

EdmRecordExpression(IEnumerable<IEdmPropertyConstructor>)

Initializes a new instance of the EdmRecordExpression class.

Properties

DeclaredType

Gets the declared type of the record, or null if there is no declared type.

ExpressionKind

Gets the kind of this expression.

Properties

Gets the constructed property values.

Extension Methods

FindProperty(IEdmRecordExpression, String)

Finds a property of a record expression.

Location(IEdmElement)

Gets the location of this element.

TryCast(IEdmExpression, IEdmTypeReference, IEdmType, Boolean, IEnumerable<EdmError>)

Determines if the type of an expression is compatible with the provided type

TryCast(IEdmExpression, IEdmTypeReference, IEnumerable<EdmError>)

Determines if the type of an expression is compatible with the provided type

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