Condividi tramite


DbExpressionBuilder.Except(DbExpression, DbExpression) Metodo

Definizione

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

public static System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression Except (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Except : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression
<Extension()>
Public Function Except (left As DbExpression, right As DbExpression) As DbExceptExpression

Parametri

left
DbExpression

Espressione che definisce l'argomento di set a sinistra.

right
DbExpression

Espressione che definisce l'argomento di set a destra.

Restituisce

Nuovo oggetto DbExceptExpression che rappresenta la differenza tra l'argomento a sinistra e quella a destra.

Eccezioni

sinistra o destra è Null.

Nessun tipo di risultato di raccolta comune esiste tra sinistra e destra.

Si applica a