DbFunctions.AsUnicode(String) Method

Definition

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.

public static string AsUnicode (string value);
static member AsUnicode : string -> string
Public Shared Function AsUnicode (value As String) As String

Parameters

value
String

The input string.

Returns

The input string treated as a Unicode string.

Remarks

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.

Applies to