EdmFunctions.EndsWith(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 DbFunctionExpression élément qui appelle la fonction « EndsWith » canonique avec les arguments spécifiés, qui doivent chacun avoir un type de résultat de chaîne. Le type de résultat de l’expression est booléen.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ EndsWith(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ suffix);
public static System.Data.Common.CommandTrees.DbFunctionExpression EndsWith(this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression suffix);
static member EndsWith : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function EndsWith (stringArgument As DbExpression, suffix As DbExpression) As DbFunctionExpression
Paramètres
- stringArgument
- DbExpression
Expression qui spécifie la chaîne recherchée à la fin de la chaîne suffix.
- suffix
- DbExpression
Expression qui spécifie la chaîne cible recherchée à la fin de stringArgument.
Retours
Nouvelle DbFunctionExpression qui retourne une valeur booléenne indiquant si elle se termine ou non stringArgument par suffix.