DbExpressionBuilder.GetEntityRef(DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新資料 DbEntityRefExpression ,以結構形式取得指定實體的參考。
public static System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression GetEntityRef(this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member GetEntityRef : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression
<Extension()>
Public Function GetEntityRef (argument As DbExpression) As DbEntityRefExpression
參數
- argument
- DbExpression
提供實體的表達式。 此表達式必須具有實體結果類型。
傳回
一個新的 DbEntityRefExpression,用來取得指定實體的參考。
例外狀況
參數為空。
參數沒有實體結果型別。