Example #1
0
        DbConnection GetDBConnection()
        {
            string settingsFilePath = Path.Combine(install.basePath, WebUserControl11.CmbSettingFiles.SelectedValue);

            svc.Initialise(settingsFilePath);

            worker = svc.GetDBWorker(svc.ConnectionString);
            DbConnection conn = worker.GetConnection(svc.ConnectionString);

            return(conn);
        }