DbExpressionBuilder.Except(DbExpression, DbExpression) Metodo

Definizione

Crea un nuovo DbExceptExpression oggetto che calcola la sottrazione dell'argomento del set di destra dall'argomento del set di sinistra.

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

Parametri

left
DbExpression

Espressione che definisce l'argomento del set di sinistra.

right
DbExpression

Espressione che definisce l'argomento set di destra.

Valori restituiti

Nuovo DbExceptExpression che rappresenta la differenza dell'argomento sinistro dall'argomento destro.

Eccezioni

left o right è null.

Nessun tipo di risultato di raccolta comune esiste tra left e right.

Si applica a