Delen via


EdmPropertyPathExpression Class

Definition

Represents an EDM property path expression.

public class EdmPropertyPathExpression : Microsoft.OData.Edm.EdmPathExpression
type EdmPropertyPathExpression = class
    inherit EdmPathExpression
Public Class EdmPropertyPathExpression
Inherits EdmPathExpression
Inheritance
EdmPropertyPathExpression

Constructors

EdmPropertyPathExpression(IEnumerable<String>)

Initializes a new instance of the EdmPropertyPathExpression class.

EdmPropertyPathExpression(String)

Initializes a new instance of the EdmPropertyPathExpression class.

EdmPropertyPathExpression(String[])

Initializes a new instance of the EdmPropertyPathExpression class.

Properties

ExpressionKind

Gets the kind of this expression.

Path

Gets the path string, like "A.B/C/D.E".

(Inherited from EdmPathExpression)
PathSegments

Gets the path segments as a decomposed qualified name. "A.B/C/D.E/Func1(NS.T,NS.T2)/P1" is { "A.B", "C", "D.E", "Func1(NS.T,NS.T2)", "P1" }.

(Inherited from EdmPathExpression)

Extension Methods

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