DbExpressionBuilder.GetEntityRef(DbExpression) メソッド

定義

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

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

適用対象