Table of Contents

ISQLGenerator.RegisterFunction Method

Registers a custom SQL function under the given name so it can be used in Aurelius LINQ expressions targeting this generator.

Syntax

Unit: Aurelius.Sql.Interfaces

procedure ISQLGenerator.RegisterFunction(const AFunctionName: string; ASQLFunction: ISQLFunction); virtual; abstract;

Parameters

<-> Parameter Type Description
const AFunctionName string The name under which the function will be registered and looked up.
ASQLFunction ISQLFunction The ISQLFunction implementation that handles SQL generation and result-type resolution for this function.

See also