DbExpressionBuilder.And(DbExpression, DbExpression) 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 DbAndExpression élément qui exécute les arguments logiques Et de gauche et de droite.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbAndExpression ^ And(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbAndExpression And(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member And : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbAndExpression
<Extension()>
Public Function And (left As DbExpression, right As DbExpression) As DbAndExpression
Paramètres
- left
- DbExpression
Expression booléenne qui spécifie l’argument gauche.
- right
- DbExpression
Expression booléenne qui spécifie l’argument approprié.
Retours
Nouvelle DbAndExpression avec les arguments spécifiés.
Exceptions
left ou right a la valeur Null.
left et right n’a pas de type de résultat booléen.