SqlFunctions.NChar Method (Nullable<Int32>)

.NET Framework (current version)

Returns the Unicode character with the specified integer code, as defined by the Unicode standard.

Namespace:   System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[EdmFunctionAttribute("SqlServer", "NCHAR")]
public static string NChar(
	Nullable<int> arg


Type: System.Nullable<Int32>

A character code.

Return Value

Type: System.String

The character that corresponds to the input character code.

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see NCHAR (Transact-SQL).

.NET Framework
Available since 4.0
Return to top