示例#1
0
 /// <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);
 }
示例#2
0
 /// <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);
 }
示例#3
0
 /// <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);
 }
示例#4
0
 /// <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);
 }
示例#5
0
 /// <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);
 }