예제 #1
0
 private void ddlDataProvider_SelectedIndexChanged(object sender, EventArgs e)
 {
     //don't cache the DAL assembly as we need to switch it at runtime
     if (ddlDataProvider.SelectedIndex == 0)
     {
         _BLL = new BusManager(
            Type.GetType(Settings.Default.SQLiteDALType, true),
            Settings.Default.SQLiteConnectionString,
            false);
     }
     else if (ddlDataProvider.SelectedIndex == 1)
     {
         _BLL = new BusManager(
            Type.GetType(Settings.Default.SQLServerDALType, true),
            Settings.Default.SQLServerConnectionString,
            false);
     }
     ((TestCase)MainPanel.Controls[0]).BLL = _BLL;
 }
예제 #2
0
 internal BusSessions(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager)
 {
 }
예제 #3
0
 public TestCase(TextBox pResultTextBox, BusManager pBLL)
 {
     Result = pResultTextBox;
     BLL = pBLL;
 }
 public Authentication(TextBox pResultTextBox, BusManager pBLL)
     : base(pResultTextBox, pBLL)
 {
     InitializeComponent();
 }
 internal BusRegistration(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager)
 {
 }
예제 #6
0
 internal BusUsers(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager) { }
 internal BusSessions(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager) { }
예제 #8
0
 internal BusRoles(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager) { }
예제 #9
0
 public Users(TextBox pResultTextBox, BusManager pBLL)
     : base(pResultTextBox, pBLL)
 {
     InitializeComponent();
 }
예제 #10
0
 internal BusUsers(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager)
 {
 }
 protected AbsBusBase(BusManager pBusManager, AbsManager pDBManager)
 {
     _dbManager  = pDBManager;
     _busManager = pBusManager;
 }
예제 #12
0
 internal BusRoles(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager)
 {
 }
 internal BusRegistration(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager) { }
 protected AbsBusBase(BusManager pBusManager, AbsManager pDBManager)
 {
     _dbManager = pDBManager;
     _busManager = pBusManager;
 }
 public Create_Account(TextBox pResultTextBox, BusManager pBLL)
     : base(pResultTextBox, pBLL)
 {
     InitializeComponent();
 }
 public Validations_1(TextBox pResultTextBox, BusManager pBLL)
     : base(pResultTextBox, pBLL)
 {
     InitializeComponent();
 }