public void DeleteSingleAttribute(ContextInfo contextInfo, tsysattributevalue obj) { contextInfo.Action = MES_ActionType.Delete; AttributeValueBll bll = new AttributeValueBll(contextInfo); bll.CallAccessControl(); bll.DoDelete<tsysattributevalue>(obj); GC.Collect(); }
public void DeleteMultiAttribute(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Delete; AttributeValueBll bll = new AttributeValueBll(contextInfo); bll.CallAccessControl(); bll.DoDelete<tsysattributevalue>(lstParameters); GC.Collect(); }
public void InsertSingleAttribute(ContextInfo contextInfo, tsysattributevalue objAttribute) { contextInfo.Action = MES_ActionType.Insert; AttributeValueBll bll = new AttributeValueBll(contextInfo); bll.CallAccessControl(); bll.DoInsert<tsysattributevalue>(objAttribute); GC.Collect(); }
public void InsertMultiAttribute(ContextInfo contextInfo, List<tsysattributevalue> lstAttributes) { contextInfo.Action = MES_ActionType.Insert; AttributeValueBll bll = new AttributeValueBll(contextInfo); bll.CallAccessControl(); bll.DoMultiInsert<tsysattributevalue>(lstAttributes); GC.Collect(); }
public tsysattributevalue GetSingleAttribute(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; AttributeValueBll bll = new AttributeValueBll(contextInfo); bll.CallAccessControl(); tsysattributevalue rs = bll.GetSingleObject<tsysattributevalue>(lstParameters); GC.Collect(); return rs; }
public decimal GetMaxAttributeId(ContextInfo contextInfo) { contextInfo.Action = MES_ActionType.Query; AttributeValueBll bll = new AttributeValueBll(contextInfo); bll.CallAccessControl(); decimal rs = bll.GetMaxAttributeId(); GC.Collect(); return rs; }
public DataSet GetAttributeRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; AttributeValueBll bll = new AttributeValueBll(contextInfo); bll.CallAccessControl(); DataSet rs = bll.GetSelectedRecords<tsysattributevalue>(lstParameters); GC.Collect(); return rs; }