Condividi tramite


DbExpressionBuilder.And(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbAndExpression che esegue l'operazione AND logica degli argomenti a sinistra e a destra.

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

Parametri

left
DbExpression

Espressione booleana che specifica l'argomento a sinistra.

right
DbExpression

Espressione booleana che specifica l'argomento a destra.

Restituisce

Nuovo DbAndExpression con gli argomenti specificati.

Eccezioni

sinistra o destra è Null.

sinistra e destra non ha un tipo di risultato booleano.

Si applica a