DbExpressionBuilder.GetEntityRef(DbExpression) メソッド

定義

指定したエンティティの ref を構造形式で取得する新しい 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 にはエンティティの結果型がありません。

適用対象