Пример #1
0
 public void DoDeleteShift(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Delete;
     ShiftBll bll = new ShiftBll(contextInfo);
     bll.CallAccessControl();
     bll.DoDelete<tmdlshift>(lstParameters);
     GC.Collect();
 }
Пример #2
0
 public void DoUpdateShift(ContextInfo contextInfo, tmdlshift shift)
 {
     contextInfo.Action = MES_ActionType.Delete;
     ShiftBll bll = new ShiftBll(contextInfo);
     bll.CallAccessControl();
     bll.DoUpdate<tmdlshift>(shift);
     GC.Collect();
 }
Пример #3
0
 public tmdlshift GetSingleShift(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     ShiftBll bll = new ShiftBll(contextInfo);
     bll.CallAccessControl();
     tmdlshift rs = bll.GetSingleObject<tmdlshift>(lstParameters);
     GC.Collect();
     return rs;
 }
Пример #4
0
 public void DoInsertShift(ContextInfo contextInfo, tmdlshift shift)
 {
     contextInfo.Action = MES_ActionType.Insert;
     ShiftBll bll = new ShiftBll(contextInfo);
     bll.CallAccessControl();
     bll.DoInsert<tmdlshift>(shift);
     GC.Collect();
 }