FilterAttribute.Create Constructor
Overloads
FilterAttribute.Create(string)
Creates a FilterAttribute that applies the named filter using its default SQL condition.
Syntax
Unit: Aurelius.Mapping.Attributes
constructor FilterAttribute.Create(const AFilterName: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AFilterName | string | The name of the filter to apply, matching a FilterDef declaration. |
See also
FilterAttribute.Create(string, string)
Creates a FilterAttribute that applies the named filter with a custom SQL condition.
Syntax
Unit: Aurelius.Mapping.Attributes
constructor FilterAttribute.Create(const AFilterName: string; const ASqlCondition: string);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | AFilterName | string | The name of the filter to apply. |
| const | ASqlCondition | string | The SQL condition that overrides the default defined in FilterDef. |