Exemple #1
0
 public ProductMgr(string connectionStr)
 {
     _productDao = new ProductDao(connectionStr);
     _productPicDao = new ProductPictureDao(connectionStr);
     pmDao = new PriceMasterDao(connectionStr);
     pmTSDao = new PriceMasterTsDao(connectionStr);
     puApplyDao = new PriceUpdateApplyDao(connectionStr);
     this.connectionStr = connectionStr;
     _mysqlDao = new MySqlDao(connectionStr);
     productDao = new ProductDao(connectionStr);
     _rProductAttribute = new RecommendedProductAttributeDao(connectionStr);
 }
 public PriceMasterTsMgr(string connectionStr)
 {
     _priceMasterTsDao = new PriceMasterTsDao(connectionStr);
     this.connectionString = connectionStr;
 }