DbExpressionBuilder.All Metodo

Definizione

Crea un nuovo DbQuantifierExpression oggetto che determina se il predicato specificato contiene per tutti gli elementi del set di input.

Overload

Nome Descrizione
All(DbExpression, Func<DbExpression,DbExpression>)

Crea un nuovo DbQuantifierExpression oggetto che determina se il predicato specificato contiene per tutti gli elementi del set di input.

All(DbExpressionBinding, DbExpression)

Crea un nuovo DbQuantifierExpression oggetto che determina se il predicato specificato contiene per tutti gli elementi del set di input.

All(DbExpression, Func<DbExpression,DbExpression>)

Crea un nuovo DbQuantifierExpression oggetto che determina se il predicato specificato contiene per tutti gli elementi del set di input.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbQuantifierExpression ^ All(System::Data::Common::CommandTrees::DbExpression ^ source, Func<System::Data::Common::CommandTrees::DbExpression ^, System::Data::Common::CommandTrees::DbExpression ^> ^ predicate);
public static System.Data.Common.CommandTrees.DbQuantifierExpression All(this System.Data.Common.CommandTrees.DbExpression source, Func<System.Data.Common.CommandTrees.DbExpression,System.Data.Common.CommandTrees.DbExpression> predicate);
static member All : System.Data.Common.CommandTrees.DbExpression * Func<System.Data.Common.CommandTrees.DbExpression, System.Data.Common.CommandTrees.DbExpression> -> System.Data.Common.CommandTrees.DbQuantifierExpression
<Extension()>
Public Function All (source As DbExpression, predicate As Func(Of DbExpression, DbExpression)) As DbQuantifierExpression

Parametri

source
DbExpression

Espressione che specifica il set di input.

predicate
Func<DbExpression,DbExpression>

Metodo che rappresenta un predicato da valutare per ogni membro del set di input. Questo metodo deve produrre un'espressione con un tipo di risultato booleano che fornisce la logica del predicato.

Valori restituiti

Nuovo DbQuantifierExpression che rappresenta l'operazione All.

Eccezioni

source o predicate è null.

oppure

L'espressione prodotta da predicate è null.

source non dispone di un tipo di risultato della raccolta.

oppure

L'espressione prodotta da predicate non ha un tipo di risultato booleano.

Si applica a

All(DbExpressionBinding, DbExpression)

Crea un nuovo DbQuantifierExpression oggetto che determina se il predicato specificato contiene per tutti gli elementi del set di input.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbQuantifierExpression ^ All(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpression ^ predicate);
public static System.Data.Common.CommandTrees.DbQuantifierExpression All(this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpression predicate);
static member All : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbQuantifierExpression
<Extension()>
Public Function All (input As DbExpressionBinding, predicate As DbExpression) As DbQuantifierExpression

Parametri

input
DbExpressionBinding

Associazione di espressioni che specifica il set di input.

predicate
DbExpression

Espressione che rappresenta un predicato da valutare per ogni membro del set di input.

Valori restituiti

Nuovo DbQuantifierExpression che rappresenta l'operazione All.

Eccezioni

input o predicate è null.

predicate non dispone di un tipo di risultato booleano.

Si applica a