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; }
internal BusSessions(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager) { }
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) { }
internal BusUsers(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager) { }
internal BusRoles(BusManager pBusManager, AbsManager pDBManager) : base(pBusManager, pDBManager) { }
public Users(TextBox pResultTextBox, BusManager pBLL) : base(pResultTextBox, pBLL) { InitializeComponent(); }
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(); }