共用方式為


IEdmRecordExpression 介面

定義

表示 EDM 記錄建構運算式。

public interface IEdmRecordExpression : Microsoft.OData.Edm.IEdmExpression
type IEdmRecordExpression = interface
    interface IEdmExpression
    interface IEdmElement
Public Interface IEdmRecordExpression
Implements IEdmExpression
衍生
實作

屬性

DeclaredType

取得記錄的宣告類型,如果沒有宣告的類型,則為 null。

ExpressionKind

取得此運算式的類型。

(繼承來源 IEdmExpression)
Properties

取得建構的屬性值。

擴充方法

FindProperty(IEdmRecordExpression, String)

尋找記錄運算式的屬性。

Location(IEdmElement)

取得此元素的位置。

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

判斷運算式的型別是否與提供的型別相容

TryCast(IEdmExpression, IEdmTypeReference, IEnumerable<EdmError>)

判斷運算式的型別是否與提供的型別相容

Errors(IEdmElement)

取得屬於此元素或此元素所包含之元素的錯誤 (如果有的話)。 例如,結構化型別的錯誤包括型別本身的錯誤及其宣告屬性的錯誤。 該方法不會分析此元素所參考的元素。 例如,屬性的錯誤不包括其型別中的錯誤。

IsBad(IEdmElement)

如果這個專案包含 方法傳 Errors(IEdmElement) 回的錯誤,則傳回 true。

適用於