DbExpressionBuilder.Except(DbExpression, DbExpression) Metoda

Definice

Vytvoří novou DbExceptExpression , která vypočítá odčítání argumentu správné sady z argumentu sady vlevo.

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

Parametry

left
DbExpression

Výraz, který definuje argument sady vlevo.

right
DbExpression

Výraz, který definuje argument správné sady.

Návraty

Nový DbExceptExpression, který představuje rozdíl levého argumentu z pravého argumentu.

Výjimky

left nebo right má hodnotu null.

left Mezi a right.

Platí pro