SqlFunctions.NChar(Nullable<Int32>) 方法

定义

根据 Unicode 标准的定义,返回具有指定整数代码的 Unicode 字符。

public:
 static System::String ^ NChar(Nullable<int> arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "NCHAR")]
public static string NChar (int? arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "NCHAR")>]
static member NChar : Nullable<int> -> string
Public Shared Function NChar (arg As Nullable(Of Integer)) As String

参数

arg
Nullable<Int32>

字符代码。

返回

与输入字符代码相对应的字符。

属性

注解

不能直接调用此函数。 此函数只能出现在 LINQ to Entities 查询中。

此函数将转换为数据库中的相应函数。 有关相应 SQL Server 函数的信息,请参阅 NCHAR (Transact-SQL)

适用于