12 |
{ |
{ |
13 |
class DatabaseSupport |
class DatabaseSupport |
14 |
{ |
{ |
15 |
private readonly ILog logger = LogManager.GetLogger("AnywhereTS.ATSAmdinLogger"); |
|
16 |
enum VersionCheck |
enum VersionCheck |
17 |
{ |
{ |
18 |
Failed = 0, |
Failed = 0, |
49 |
{ |
{ |
50 |
bool bContinue = false; |
bool bContinue = false; |
51 |
// Create a connection to SQL Server |
// Create a connection to SQL Server |
52 |
logger.Debug("SetupDatabase() called "); |
|
53 |
|
Logging.ATSAdminLog.Debug("SetupDatabase() called "); |
54 |
try |
try |
55 |
{ |
{ |
56 |
sqlCon.ConnectionString = Properties.Settings.Default.atsConnectionString; |
sqlCon.ConnectionString = Properties.Settings.Default.atsConnectionString; |