This method is used for registering a user-defined String collation.
class procedure RegisterCollation(Connection: TCustomDAConnection; Name: string; LiteCollation: TLiteCollation);
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 |