This method is used for registering a user-defined function.
class procedure RegisterFunction(Connection: TCustomDAConnection; const Name: string; ParamCount: Integer; LiteFunction: TLiteFunction);
If UseUnicode connection specific option is true then input string parameters will be represented as WideString else input string parameters will be represented as AnsiString.