Table of Contents

FilterDefAttribute Class

Declares a named filter definition on an entity class, including its default SQL condition.

Remarks

Use this attribute together with FilterAttribute to define parameterized, reusable SQL filters. The filter definition specifies the filter name and a default SQL condition that may include parameter placeholders (e.g., :paramName). Parameters are declared separately using FilterDefParamAttribute.

Syntax

Unit: Aurelius.Mapping.Attributes

FilterDefAttribute = class(TCustomAttribute);

Constructors

Name Description
Create Overloaded
Create(string)
Create(string, string)

Properties

Name Description
DefaultSqlCondition Gets the default SQL condition for this filter.
FilterName Gets the name of the filter definition.