DbExpressionBuilder.GetEntityRef(DbExpression) メソッド

定義

指定されたエンティティの参照を構造形式で取得する新しい DbEntityRefExpression を作成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbEntityRefExpression ^ GetEntityRef(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbEntityRefExpression GetEntityRef (this System.Data.Common.CommandTrees.DbExpression argument);
static member GetEntityRef : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbEntityRefExpression
<Extension()>
Public Function GetEntityRef (argument As DbExpression) As DbEntityRefExpression

パラメーター

argument
DbExpression

エンティティを表す式。 この式は、エンティティを結果型とする必要があります。

戻り値

指定されたエンティティへの参照を取得する新しい DbEntityRefExpression。

例外

argument が null です。

argument の結果型がエンティティ型ではありません。

適用対象