public OrderReturnStatusDao(string connectionstring) { _access = DBFactory.getDBAccess(DBType.MySql, connectionstring); _ordermasterdao = new OrderMasterDao(connectionstring); _orderDetailDao = new OrderDetailDao(connectionstring); _orderMoneyReturnDao = new OrderMoneyReturnDao(connectionstring); _vipuserGroupDao = new VipUserGroupDao(connectionstring); _itemDao = new ProductItemDao(connectionstring); _userRecommendDao = new UserRecommendDao(connectionstring); _mySqlDao = new MySqlDao(connectionstring); this.connStr = connectionstring; }
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); }