共用方式為


EntityFunctions.Reverse(String) 方法

定義

當做LINQ to Entities查詢的一部分使用時,這個方法會叫用標準反向 EDM 函式,以傳回具有反轉字元順序的指定字串。

[System.Data.Entity.DbFunction("Edm", "Reverse")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="stringArgument")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId="string")]
public static string Reverse (string stringArgument);
static member Reverse : string -> string
Public Shared Function Reverse (stringArgument As String) As String

參數

stringArgument
String

輸入字串。

傳回

具有反向字元順序的輸入字串。

屬性

備註

您無法直接呼叫此函式。 此函式只能出現在LINQ to Entities查詢內。 此函式會轉譯為資料庫中的對應函式。

適用於