コード例 #1
0
 public EntitiesChangesModel(
     Entity entity,
     PagedRecords pagedRecords,
     TableInfo tableInfo)
     : base(entity, pagedRecords, tableInfo)
 {
 }
コード例 #2
0
 public EntitiesChangesModel(
     Entity entity,
     PagedRecords pagedRecords,
     TableInfo tableInfo)
     : base(entity, pagedRecords, tableInfo)
 {
 }
コード例 #3
0
 public EntitiesIndexModel(
     Entity entity,
     PagedRecords pagedRecords,
     TableInfo tableInfo)
 {
     Records = pagedRecords.Records;
     Columns = entity.DisplayProperties
         .Select(x => new Column(x, tableInfo.Order, tableInfo.OrderDirection)).ToList();
     Entity = entity;
     Pager =
         new PagerInfo(tableInfo.PerPage, tableInfo.Page, pagedRecords.TotalItems);
     Filters = pagedRecords.Filters.Where(x => x.IsVisible).ToList();
     TableInfo = tableInfo;
 }
コード例 #4
0
 public EntitiesIndexModel(
     Entity entity,
     PagedRecords pagedRecords,
     TableInfo tableInfo)
 {
     Records = pagedRecords.Records;
     Columns = entity.DisplayProperties
               .Select(x => new Column(x, tableInfo.Order, tableInfo.OrderDirection)).ToList();
     Entity = entity;
     Pager  =
         new PagerInfo(tableInfo.PerPage, tableInfo.Page, pagedRecords.TotalItems);
     Filters   = pagedRecords.Filters.Where(x => x.IsVisible).ToList();
     TableInfo = tableInfo;
 }