/// <summary> /// Use this contructor for single connection operations. /// </summary> public EmployeesBsn(IBaseGlobalConfig baseGlobalConfig) { this.baseGlobalConfig = baseGlobalConfig; this.motor = new Motor(baseGlobalConfig.GetMainConnectionString); GenerateDataAcces(); this.EmployeesDAO = new EmployeesDAO(motor); }
/// <summary> /// Use this contructor for single connection operations. /// </summary> public CustomerCustomerDemoBsn(IBaseGlobalConfig baseGlobalConfig) { this.baseGlobalConfig = baseGlobalConfig; this.motor = new Motor(baseGlobalConfig.GetMainConnectionString); GenerateDataAcces(); this.CustomerCustomerDemoDAO = new CustomerCustomerDemoDAO(motor); }
/// <summary> /// Use this contructor for single connection operations. /// </summary> public SuppliersBsn(IBaseGlobalConfig baseGlobalConfig) { this.baseGlobalConfig = baseGlobalConfig; this.motor = new Motor(baseGlobalConfig.GetMainConnectionString); GenerateDataAcces(); this.SuppliersDAO = new SuppliersDAO(motor); }
/// <summary> /// Use this contructor for single connection operations. /// </summary> public TagBsn(IBaseGlobalConfig baseGlobalConfig) { this.baseGlobalConfig = baseGlobalConfig; this.motor = new Motor(baseGlobalConfig.GetMainConnectionString); GenerateDataAcces(); this.TagDAO = new TagDAO(motor); }
/// <summary> /// Use this contructor for single connection operations. /// </summary> public OrderDetailsBsn(IBaseGlobalConfig baseGlobalConfig) { this.baseGlobalConfig = baseGlobalConfig; this.motor = new Motor(baseGlobalConfig.GetMainConnectionString); GenerateDataAcces(); this.OrderDetailsDAO = new OrderDetailsDAO(motor); }