EdmFunctions.ToUpper(DbExpression) Méthode

Définition

Crée un DbFunctionExpression qui appelle la fonction « ToUpper » canonique avec l’argument spécifié, qui doit avoir un type de résultat de chaîne. Le type de résultat de l’expression est également chaîne.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ ToUpper(System::Data::Common::CommandTrees::DbExpression ^ stringArgument);
public static System.Data.Common.CommandTrees.DbFunctionExpression ToUpper(this System.Data.Common.CommandTrees.DbExpression stringArgument);
static member ToUpper : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function ToUpper (stringArgument As DbExpression) As DbFunctionExpression

Paramètres

stringArgument
DbExpression

Expression qui spécifie la chaîne qui doit être convertie en majuscules.

Retours

Nouvelle DbFunctionExpression qui retourne la valeur convertie stringArgument en majuscules.

Exceptions

stringArgument a la valeur null.

stringArgument n’est pas valide.

S’applique à