Beispiel #1
0
 public void FormDataHandle(Sys_DbConfig t, Model.EnumSpace.FormTypeEnum formType, UserInfo currUser = null)
 {
     if (t != null)
     {
         TbIndexInfo tbIndexInfo = SystemOperate.GetTableIndexInfo(t.ModuleName);
         if (tbIndexInfo != null)
         {
             t.CurrPageDensity = tbIndexInfo.FragmentationPercent;
         }
     }
 }
 public void PageGridDataHandle(List <Sys_DbConfig> data, object[] otherParams = null, UserInfo currUser = null)
 {
     if (data != null && data.Count > 0)
     {
         foreach (Sys_DbConfig t in data)
         {
             TbIndexInfo tbIndexInfo = SystemOperate.GetTableIndexInfo(t.ModuleName);
             if (tbIndexInfo != null)
             {
                 t.CurrPageDensity = tbIndexInfo.FragmentationPercent;
             }
         }
     }
 }