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