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(); }
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(); }
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; }
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(); }