语言

DbFunctions.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 查询中显示。 此函数将转换为数据库中的相应函数。

适用于