TEnabledFilter Class
Represents a named filter that has been enabled on the object manager, together with the runtime values of its parameters.
Remarks
When a filter is enabled, its SQL condition is automatically appended to queries against entities that declare the filter. Parameters must be set via SetParam before the filter is applied. Filters are enabled and disabled through the object manager.
Syntax
Unit: Aurelius.Mapping.EnabledFilters
TEnabledFilter = class(TObject);
Methods
| Name | Description |
|---|---|
| GetParamValues | Returns an ordered array of values for the specified parameter names. |
| ParamByName | Returns the TEnabledFilterParam for the given parameter name. |
| RemoveParam | Removes a previously set parameter value by name. Has no effect if the parameter is not set. |
| SetParam | Sets or replaces the value of the named filter parameter. |
Properties
| Name | Description |
|---|---|
| FilterDef | Returns the filter definition metadata associated with this enabled filter. |
| FilterName | Returns the name of this filter. |