TFilterDefinition.DefineParam Method
Declares a named parameter for this filter definition.
Remarks
Raises an exception if a parameter with ParamName has already been declared.
Syntax
Unit: Aurelius.Mapping.Metadata
function TFilterDefinition.DefineParam(const ParamName: string; ParamType: PTypeInfo): TFilterDefinition;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | ParamName | string | The name of the parameter as referenced in the SQL condition. |
| ParamType | PTypeInfo | The RTTI type information for the parameter value. |
Returns
The current TFilterDefinition instance to allow method chaining.