The current approach when implementing GetExpressions(...) from BaseQueryCriteria is clumsy and prone to errors. Instead, add an fluent overlay to DynamicExpression and improve how query criteria are defined. Especially, regarding nested statements.
Also improve performance by caching the queries, and also if possible precompute the queries on startup.
The current approach when implementing
GetExpressions(...)fromBaseQueryCriteriais clumsy and prone to errors. Instead, add an fluent overlay toDynamicExpressionand improve how query criteria are defined. Especially, regarding nested statements.Also improve performance by caching the queries, and also if possible precompute the queries on startup.