question about new Aurelius filters

There is an attribute shown as:
[Filter('Multitenant')]

Maybe a dumb question, but all of the examples show "Multitenant". I'm guessing this can be any name you want? Like "Department" or "ClientName" or "UserID"?

Is it ok if the Filter name reflects the name of the column added to the DB?

Hi.

Filter can have any name you want and is defined by FilterDef attribute.

  [FilterDef('MyFilterName', 'filter rxpression')]

Multitanent is used in the examples just couse is a great use case.

Regards

2 Likes