語言

EntityFunctions.Reverse(String) 方法

定義

當作為 LINQ 對 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 對 Entities 查詢中。 這個函式會被轉換成資料庫中的對應函式。

適用於