예제 #1
0
 public void SetFilters(DynamicEntityMetadata dynamicEntityMetadata, IEnumerable <Func <IQueryable, IQueryable> > filters)
 {
     // ReSharper disable once PossibleMultipleEnumeration
     Filters = filters.ToList();
     // ReSharper disable once PossibleMultipleEnumeration
     RecordCount = _dynamicRepository.GetRecordCount(dynamicEntityMetadata.EntityTypeFunction()(), filters);
 }