UniDAC

TLiteUtils.RegisterCollation Method

This method is used for registering a user-defined String collation.

Class

TLiteUtils

Syntax

class procedure RegisterCollation(Connection: TCustomDAConnection; Name: string; LiteCollation: TLiteCollation);

Parameters
Connection
Connection with database where user-defined collation should be registered.
Name
User-defined collation name.
LiteCollation
User-defined collation.

Remarks

TLiteCollation has String parameters that depend on Delphi version:
Delphi version Parameter data type Description
Delphi 2007 and lower String = AnsiString non-Unicode collation
Delphi 2009 and higher String = WideString Unicode collation

© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback