Пример #1
0
 public PromotionBannerMgr(string connectionStr)
 {
     _promotionBannerDao = new PromotionBannerDao(connectionStr);
     _promotionBannerRelationDao = new PromotionBannerRelationDao(connectionStr);
     _mysqlDao = new MySqlDao(connectionStr);
     _vendorBrandDao = new VendorBrandDao(connectionStr);
     _accessMySql = DBFactory.getDBAccess(DBType.MySql, connectionStr);
 }
 public PromotionBannerRelationMgr(string connectionStr)
 {
     _promotionBannerRelationDao = new PromotionBannerRelationDao(connectionStr);
     _accessMySql = DBFactory.getDBAccess(DBType.MySql, connectionStr);
 }