DbExpressionBuilder.All Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un nouveau DbQuantifierExpression qui détermine si le prédicat donné contient tous les éléments du jeu d’entrée.
Surcharges
| Nom | Description |
|---|---|
| All(DbExpression, Func<DbExpression,DbExpression>) |
Crée un nouveau DbQuantifierExpression qui détermine si le prédicat donné contient tous les éléments du jeu d’entrée. |
| All(DbExpressionBinding, DbExpression) |
Crée un nouveau DbQuantifierExpression qui détermine si le prédicat donné contient tous les éléments du jeu d’entrée. |
All(DbExpression, Func<DbExpression,DbExpression>)
Crée un nouveau DbQuantifierExpression qui détermine si le prédicat donné contient tous les éléments du jeu d’entrée.
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
Paramètres
- source
- DbExpression
Expression qui spécifie le jeu d’entrées.
- predicate
- Func<DbExpression,DbExpression>
Méthode représentant un prédicat à évaluer pour chaque membre du jeu d’entrée. Cette méthode doit produire une expression avec un type de résultat booléen qui fournit la logique de prédicat.
Retours
Nouvelle DbQuantifierExpression qui représente l’opération All.
Exceptions
source ou predicate a la valeur Null.
- ou -
L’expression produite par predicate est null.
source n’a pas de type de résultat de collection.
- ou -
L’expression produite par predicate n’a pas de type de résultat booléen.
S’applique à
All(DbExpressionBinding, DbExpression)
Crée un nouveau DbQuantifierExpression qui détermine si le prédicat donné contient tous les éléments du jeu d’entrée.
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
Paramètres
- input
- DbExpressionBinding
Liaison d’expression qui spécifie le jeu d’entrées.
- predicate
- DbExpression
Expression représentant un prédicat à évaluer pour chaque membre du jeu d’entrée.
Retours
Nouvelle DbQuantifierExpression qui représente l’opération All.
Exceptions
input ou predicate a la valeur Null.
predicate n’a pas de type de résultat booléen.