/[AnywhereTS-MSSQL]/trunk/TSAdminTool/Database.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/Database.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25 by william, Wed Jul 11 20:39:32 2012 UTC revision 33 by william, Thu Jul 12 10:52:05 2012 UTC
# Line 6  using System.Data.SqlClient; Line 6  using System.Data.SqlClient;
6  using System.Windows.Forms;  using System.Windows.Forms;
7  using System.Text.RegularExpressions;  using System.Text.RegularExpressions;
8  using System.Management;  using System.Management;
9    using log4net;
10    
11  namespace AnywhereTS  namespace AnywhereTS
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,
# Line 47  namespace AnywhereTS Line 49  namespace AnywhereTS
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              try              try
54              {              {
55                  sqlCon.ConnectionString = Properties.Settings.Default.atsConnectionString;                  sqlCon.ConnectionString = Properties.Settings.Default.atsConnectionString;

Legend:
Removed from v.25  
changed lines
  Added in v.33

  ViewVC Help
Powered by ViewVC 1.1.22