DbFunctions.AsNonUnicode(String) DbFunctions.AsNonUnicode(String) DbFunctions.AsNonUnicode(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 non-Unicode string.

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

Parameters

value
String String String

The input string.

Returns

The input string treated as a non-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