EdmFunctions.ToUpper(DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a canonical "ToUpper" függvényt a megadott argumentummal, amelynek sztring eredménytípussal kell rendelkeznie. A kifejezés eredménytípusa szintén sztring.

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éterek

stringArgument
DbExpression

A nagybetűssé konvertálandó sztringet meghatározó kifejezés.

Válaszok

Egy új DbFunctionExpression, amely a nagybetűssé konvertált értéket stringArgument adja vissza.

Kivételek

stringArgument az null.

stringArgument érvénytelen.

A következőre érvényes: