EdmFunctions.ToUpper(DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression , která vyvolá kanonickou funkci ToUpper se zadaným argumentem, který musí mít typ výsledku řetězce. Typ výsledku výrazu je také řetězec.

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

Parametry

stringArgument
DbExpression

Výraz, který určuje řetězec, který má být převeden na velká písmena.

Návraty

Nový DbFunctionExpression, který vrátí hodnotu převedené stringArgument na velká písmena.

Výjimky

stringArgument je null.

stringArgument je neplatný.

Platí pro