FilterUtils<T>.NewFilter method (1 of 2)
Builds a new FilterBy
and returns it.
public static FilterBy<T> NewFilter(string propertyName, Operator op, object? value,
Connector connector = Connector.And)
parameter | description |
---|---|
propertyName | property name |
op | operator |
value | value to compare |
connector | logical connector to the next filter |
See Also
- class FilterBy<T>
- enum Operator
- enum Connector
- class FilterUtils<T>
- namespace Amica
FilterUtils<T>.NewFilter<TProperty> method (2 of 2)
Builds a new FilterBy
and returns it.
public static FilterBy<T> NewFilter<TProperty>(Expression<Func<T, TProperty>> expression,
Operator op, object? value, Connector connector = Connector.And)
parameter | description |
---|---|
TProperty | target property type |
expression | target property expression |
op | operator |
value | value to compare |
connector | logical connector to the next filter |
See Also
- class FilterBy<T>
- enum Operator
- enum Connector
- class FilterUtils<T>
- namespace Amica