UniDAC

TLiteUtils.RegisterFunction Method

This method is used for registering a user-defined function.

Class

TLiteUtils

Syntax

class procedure RegisterFunction(Connection: TCustomDAConnection; const Name: string; ParamCount: Integer; LiteFunction: TLiteFunction);

Parameters
Connection
Connection where user-defined function should be registered.
Name
User-defined function name.
ParamCount
The number of the input parameters for user-defined function.
LiteFunction
User-defined function to register.

Remarks

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.

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