本文整理汇总了C#中GENLSYS.MES.DataContracts.Common.ContextInfo类的典型用法代码示例。如果您正苦于以下问题:C# ContextInfo类的具体用法?C# ContextInfo怎么用?C# ContextInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ContextInfo类属于GENLSYS.MES.DataContracts.Common命名空间,在下文中一共展示了ContextInfo类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RequestPayBll
public RequestPayBll(ContextInfo contextInfo)
: base(contextInfo)
{
localDal = new RequestPayDal(dbInstance);
requestPayDtlDal = new RequestPayDtlDal(dbInstance);
baseDal = localDal;
}
示例2: SystemConfigBll
public SystemConfigBll(ContextInfo contextInfo,DBInstance dbInstance)
: base(contextInfo)
{
this.dbInstance = dbInstance;
localDal = new SystemConfigDal(dbInstance);
baseDal = localDal;
}
示例3: BillCodeBll
public BillCodeBll(ContextInfo contextInfo, DBInstance _dbInstance) :
base(contextInfo)
{
dbInstance = _dbInstance;
localDal = new BillCodeDal(dbInstance);
baseDal = localDal;
}
示例4: DoUpdateFunctions
public void DoUpdateFunctions(ContextInfo contextInfo, tsecfunctions functions)
{
contextInfo.Action = MES_ActionType.Update;
FunctionsBll bll = new FunctionsBll(contextInfo);
bll.CallAccessControl();
bll.DoUpdate<tsecfunctions>(functions);
GC.Collect();
}
示例5: DoInsertUser
public void DoInsertUser(ContextInfo contextInfo, tsecuser user, List<tsecuserrole> lstUserRole)
{
contextInfo.Action = MES_ActionType.Insert;
UserBll bll = new UserBll(contextInfo);
bll.CallAccessControl();
bll.DoInsertUser(user, lstUserRole);
GC.Collect();
}
示例6: DoInsertRole
public void DoInsertRole(ContextInfo contextInfo, tsecrole role, List<tsecrolefunction> lstRoleFunctions, List<tsecrolestep> lstRoleSteps, List<tsecroleeqpgroup> lstRoleEqpGroups)
{
contextInfo.Action = MES_ActionType.Insert ;
RoleBll bll = new RoleBll(contextInfo);
bll.CallAccessControl();
bll.DoInsert(role, lstRoleFunctions, lstRoleSteps,lstRoleEqpGroups);
GC.Collect();
}
示例7: DoDeleteFunctions
public void DoDeleteFunctions(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
{
contextInfo.Action = MES_ActionType.Delete;
FunctionsBll bll = new FunctionsBll(contextInfo);
bll.CallAccessControl();
bll.DoDelete<tsecfunctions>(lstParameters);
GC.Collect();
}
示例8: ChangePassword
public void ChangePassword(ContextInfo contextInfo, string userid, string oldPassword, string newPassword)
{
contextInfo.Action = MES_ActionType.Update;
LogonBll bll = new LogonBll(contextInfo);
bll.CallAccessControl();
bll.ChangePassword(userid, oldPassword, newPassword);
GC.Collect();
}
示例9: DoDeleteShipping
public void DoDeleteShipping(ContextInfo contextInfo, string shippingsysid)
{
contextInfo.Action = MES_ActionType.Delete;
ShippingBll bll = new ShippingBll(contextInfo);
bll.CallAccessControl();
bll.DoDeleteShipping(shippingsysid);
GC.Collect();
}
示例10: DoDeleteSchedule
public void DoDeleteSchedule(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
{
contextInfo.Action = MES_ActionType.Delete;
IQCBll bll = new IQCBll(contextInfo);
bll.CallAccessControl();
bll.DoDelete<tinpschedule>(lstParameters);
GC.Collect();
}
示例11: DoDeleteOtherPricing
public void DoDeleteOtherPricing(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
{
contextInfo.Action = MES_ActionType.Delete;
OtherPricingBll bll = new OtherPricingBll(contextInfo);
bll.CallAccessControl();
bll.DoDelete<tinpotherpricing>(lstParameters);
GC.Collect();
}
示例12: DoDeleteReasonCode
public void DoDeleteReasonCode(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
{
contextInfo.Action = MES_ActionType.Delete;
ReasonCodeBll bll = new ReasonCodeBll(contextInfo);
bll.CallAccessControl();
bll.DeleteReasonCode(lstParameters);
GC.Collect();
}
示例13: DoDeleteExchange
public void DoDeleteExchange(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
{
contextInfo.Action = MES_ActionType.Delete;
ExchangeBll bll = new ExchangeBll(contextInfo);
bll.CallAccessControl();
bll.DoDelete<tmdlexchange>(lstParameters);
GC.Collect();
}
示例14: LogonBll
public LogonBll(ContextInfo contextInfo)
: base(contextInfo)
{
localDal = new UserDal(dbInstance);
baseDal = localDal;
sessionDal = new SessionDal(dbInstance);
sessionhisDal = new SessionHisDal(dbInstance);
}
示例15: DoDeleteCustomer
public void DoDeleteCustomer(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
{
contextInfo.Action = MES_ActionType.Delete;
CustomerBll bll = new CustomerBll(contextInfo);
bll.CallAccessControl();
bll.DoDeleteCustomer(lstParameters);
GC.Collect();
}