Collection filters = new List(); QueryFilter filter = new QueryFilter("Name", "Burger", Operator.StartsWith); filters.Add(filter);
Expression<Func<Food, bool>> query = ExpressionBuilder.GetExpression<Food>(filters);
In this case, it is a query against the Food entity, that want to find all foods that start with "Burger" in the name.
query = {parm => a.parm.StartsWith("Burger")}
Expression<Func<T, bool>> GetExpression<T>(IList<QueryFilter> filters)