EntityFunctions.AsUnicode Method (String)

 

When used as part of a LINQ to Entities query, this method acts as an operator that ensures the input is treated as a Unicode string.

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

public static string AsUnicode(
	string value
)

Parameters

value
Type: System.String

The input string.

Return Value

Type: System.String

The input string treated as a Unicode string.

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function impacts the way the LINQ query is translated to a query that can be run in the database.