Partager via


EdmFunctions.Right(DbExpression, DbExpression) Méthode

Définition

Crée DbFunctionExpression qui appelle la fonction « Right » canonique avec les arguments spécifiés, qui doit avoir un résultat de type chaîne et entier numérique. Le résultat de l’expression est de type chaîne.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Right (this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument, System.Data.Entity.Core.Common.CommandTrees.DbExpression length);
static member Right : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Right (stringArgument As DbExpression, length As DbExpression) As DbFunctionExpression

Paramètres

stringArgument
DbExpression

Expression qui spécifie la chaîne à partir de laquelle extraire la sous-chaîne la plus à droite.

length
DbExpression

Expression qui spécifie la longueur de la sous-chaîne la plus à droite à extraire de stringArgument.

Retours

Nouveau DbFunctionExpression qui retourne la sous-chaîne la plus à droite avec la longueur length de stringArgument.

S’applique à