Exemple #1
0
 public static SqlTool getInstance()
 {
     if(null == instance)
     {
         instance = new SqlTool();
     }
     return instance;
 }
Exemple #2
0
 public static SqlTool getInstance()
 {
     if (null == instance)
     {
         instance = new SqlTool();
     }
     return(instance);
 }
Exemple #3
0
 public static SqlTool getInstance(string connStr)
 {
     if(null == instance)
     {
         connection = new OleDbConnection("".Equals(connStr) ? connectionString : connStr);
         instance = new SqlTool();
     }
     return instance;
 }
Exemple #4
0
 public static SqlTool getInstance(string connStr)
 {
     if (null == instance)
     {
         connection = new OleDbConnection("".Equals(connStr) ? connectionString : connStr);
         instance   = new SqlTool();
     }
     return(instance);
 }