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 objet DbFunctionExpression appelant la fonction 'EndsWith' canonique avec les arguments spécifiés, qui doivent tous avoir un résultat de type chaîne. Le type de résultat de l'expression est booléen.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression EndsWith(this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument, System.Data.Entity.Core.Common.CommandTrees.DbExpression suffix);
static member EndsWith : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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 pour le suffixe de chaîne.
- 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 stringArgument se termine ou non par le suffixe.