Language

DbExpressionBuilder.GetEntityRef(DbExpression) メソッド

定義

指定されたエンティティの ref を構造形式で取得する新しい 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。

例外

引数が null です。

引数にエンティティの結果の型がありません。

適用対象