Пример #1
0
 public OrderSlaveMasterMgr(string connectionStr)
 {
     _orderSlaveMasterDao = new OrderSlaveMasterDao(connectionStr);
     _serialDao = new SerialDao(connectionStr);
     _mysqlDao = new MySqlDao(connectionStr);
     _paraDao = new ParametersrcDao(connectionStr);
 }
 public ProductCategoryBannerMgr(string connectionString)
 {
     _prodCategoryBannerDao = new ProductCategoryBannerDao(connectionString);
     _prodCategorySetDao = new ProductCategorySetDao(connectionString);
     _prodCateDao = new ProductCategoryDao(connectionString);
     _paremDao = new ParametersrcDao(connectionString);
     connectionStr = connectionString;
 }
Пример #3
0
 public ParameterMgr(string connectionString, ParaSourceType sourceType = ParaSourceType.MYSQL)
 {
     switch (sourceType)
     {
         case ParaSourceType.MYSQL:
             _paraDao = new ParametersrcDao(connectionString);
             break;
         case ParaSourceType.XML:
             _paraDao = new ParametersrcXmlDao(connectionString);
             break;
     }
 }
Пример #4
0
 public OrderDetailMgr(string connectionStr)
 {
     _orderDetailDao = new OrderDetailDao(connectionStr);
     _orderSlaveDao = new OrderSlaveDao(connectionStr);
     _orderMaterDao = new OrderMasterDao(connectionStr);
     _orderMaterStatusDao = new OrderMasterStatusDao(connectionStr);
     _serial = new SerialDao(connectionStr);
     _mySqlDao = new MySqlDao(connectionStr);
     _productCategoryDao = new ProductCategoryDao(connectionStr);
     _parametersrcDao = new ParametersrcDao(connectionStr);
     //_siteDao = new SiteDao(connectionStr); 
     _channelDao = new ChannelDao(connectionStr);
 }
Пример #5
0
 public OrderMasterMgr(string connectionStr)
 {
     _orderMasterDao = new OrderMasterDao(connectionStr);
     //orderMasterDao = new OrderMasterDao(connectionStr);
     bonusMasterDao = new BonusMasterDao(connectionStr);
     _bonusMasterMgr = new BonusMasterMgr(connectionStr);
     _happyGoMgr = new HappyGoMgr(connectionStr);
     _serialDao = new SerialDao(connectionStr);
     _mysqlDao = new MySqlDao(connectionStr);
     _orsDao = new OrderReturnStatusDao(connectionStr);
     _parametersrcDao = new ParametersrcDao(connectionStr);
     conn = connectionStr;
 }
Пример #6
0
 public SecretInfoLogMgr(string connectionStr)
 {
     _secretlogDao = new SecretInfoLogDao(connectionStr);
     _paraDao = new ParametersrcDao(connectionStr);
     connStr = connectionStr;
 }