public void DoDeleteBillCode(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Delete; BillCodeBll bll = new BillCodeBll(contextInfo); bll.CallAccessControl(); bll.DoDelete<tsysbillcode>(lstParameters); GC.Collect(); }
public void DoInsertBillCode(ContextInfo contextInfo, tsysbillcode billCode) { contextInfo.Action = MES_ActionType.Insert; BillCodeBll bll = new BillCodeBll(contextInfo); bll.CallAccessControl(); bll.DoInsert(billCode); GC.Collect(); }
public void UnlockBill(ContextInfo contextInfo, string bcrid, string lockRefId) { contextInfo.Action = MES_ActionType.Delete; BillCodeBll bll = new BillCodeBll(contextInfo); bll.CallAccessControl(); bll.UnlockBill(bcrid, lockRefId); GC.Collect(); }
public string GetSingleBillNo(ContextInfo contextInfo, string bcrid, string lockRefId, string baseValue, List<MESParameterInfo> lstVariablesParameters) { contextInfo.Action = MES_ActionType.Query; BillCodeBll bll = new BillCodeBll(contextInfo); bll.CallAccessControl(); string rs = bll.GetSingleBillNo(bcrid, lockRefId, baseValue, lstVariablesParameters); GC.Collect(); return rs; }
public tsysbillcode GetSingleBillCode(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; BillCodeBll bll = new BillCodeBll(contextInfo); bll.CallAccessControl(); tsysbillcode rs = bll.GetSingleObject<tsysbillcode>(lstParameters); GC.Collect(); return rs; }
public DataSet GetBillCodeRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; BillCodeBll bll = new BillCodeBll(contextInfo); bll.CallAccessControl(); DataSet rs = bll.GetSelectedRecords<tsysbillcode>(lstParameters); GC.Collect(); return rs; }