You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using HealthMonitor.Util.QueryObjects;
-
- namespace HealthMonitor.Core.Query.Extensions
- {
- public static class QueryConditionsExt
- {
- public static IQueryable<T> QueryConditions<T>(this IQueryable<T> query, IEnumerable<QueryFilterCondition> conditions)
- {
- var parser = new QueryExpressionParser<T>();
- var filter = parser.ParserConditions(conditions);
- return query.Where(filter);
- }
- }
- }
|