示例#1
0
 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();
 }
示例#2
0
 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();
 }
示例#3
0
 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();
 }
示例#4
0
 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();
 }
示例#5
0
 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;
 }
示例#6
0
 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;
 }
示例#7
0
 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;
 }