DbExpressionBuilder.Except(DbExpression, DbExpression) メソッド

定義

セット引数 left からセット引数 right を減算する新しい DbExceptExpression を作成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExceptExpression ^ Except(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbExceptExpression Except (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Except : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbExceptExpression
<Extension()>
Public Function Except (left As DbExpression, right As DbExpression) As DbExceptExpression

パラメーター

left
DbExpression

セット引数 left を定義する式。

right
DbExpression

セット引数 right を定義する式。

戻り値

右の引数から左の引数の差を表す新しい DbExceptExpression。

例外

left または right が null です。

leftright の結果型が、同じコレクション型ではありません。

適用対象