EdmFunctions.ToUpper(DbExpression) 方法

定義

建立 DbFunctionExpression 一個,呼叫標準的「ToUpper」函式,並指定參數,且必須有字串結果型別。 表達式的結果類型也是字串。

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

參數

stringArgument
DbExpression

一個表示式,指定應該轉換成大寫的字串。

傳回

一個新的 DbFunctionExpression,回傳將 轉換為大寫的值 stringArgument

例外狀況

stringArgumentnull

stringArgument 無效。

適用於