public KendoGridEx(KendoGridBaseRequest request, IEnumerable <TModel> source,
                    IEnumerable <string> includes = null,
                    Dictionary <string, MapExpression <TModel> > mappings        = null,
                    Func <IQueryable <TModel>, IEnumerable <TModel> > conversion = null,
                    bool canUseAutoMapperProjection = true)
     : base(request, source.AsQueryable(), includes, mappings, conversion, canUseAutoMapperProjection)
 {
 }
 public KendoGridEx(KendoGridBaseRequest request, IEnumerable <TModel> source)
     : this(request, source.AsQueryable())
 {
 }
 public KendoGridEx(KendoGridBaseRequest request, IQueryable <TModel> query)
     : base(request, query, null, null)
 {
 }
 public KendoGridEx(KendoGridBaseRequest request, IEnumerable <TModel> list)
     : this(request, list.AsQueryable())
 {
 }
 private static void CheckTake(KendoGridBaseRequest gridRequest, int take)
 {
     Assert.IsNotNull(gridRequest.Take);
     Assert.AreEqual(take, gridRequest.Take.Value);
 }
 private static void CheckSkip(KendoGridBaseRequest gridRequest, int skip)
 {
     Assert.IsNotNull(gridRequest.Skip);
     Assert.AreEqual(skip, gridRequest.Skip.Value);
 }
 private static void CheckPageSize(KendoGridBaseRequest gridRequest, int pagesize)
 {
     Assert.IsNotNull(gridRequest.PageSize);
     Assert.AreEqual(pagesize, gridRequest.PageSize.Value);
 }