LinqConnect Documentation
Devart.Data.Linq Namespace / SqlMethods Class / Collate Method
The string to specify the collation for.
The name of the target collation.

In This Topic
    Collate Method
    In This Topic
    Specifies the collation to use for comparing the specified string.
    Syntax
    'Declaration
     
    Public Shared Function Collate( _
       ByVal value As String, _
       ByVal collationName As String _
    ) As String
    public static string Collate( 
       string value,
       string collationName
    )

    Parameters

    value
    The string to specify the collation for.
    collationName
    The name of the target collation.

    Return Value

    The string with the collation specified.
    Remarks
    For all database except Oracle, the COLLATE clause is generated in the generated SQL queries. For Oracle, NLS_SORT is generated.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also