public IAppQuery <TModel> FilterXor <TType>(string property, TType value) { Filtering = new FilteringOptions(String.Format("{0} != {1}", property, value)); return(this); }
public static IQueryable <TModel> Filter <TModel>(this IQueryable <TModel> source, FilteringOptions filter) { return(filter != null?filter.Filter(source) : source); }
public IAppQuery <TModel> SetFilterOptions <TType>(string property, TType value) { Filtering = new FilteringOptions(String.Format("{0} == \"{1}\"", property, value)); return(this); }