public static SqlTool getInstance() { if(null == instance) { instance = new SqlTool(); } return instance; }
public static SqlTool getInstance() { if (null == instance) { instance = new SqlTool(); } return(instance); }
public static SqlTool getInstance(string connStr) { if(null == instance) { connection = new OleDbConnection("".Equals(connStr) ? connectionString : connStr); instance = new SqlTool(); } return instance; }
public static SqlTool getInstance(string connStr) { if (null == instance) { connection = new OleDbConnection("".Equals(connStr) ? connectionString : connStr); instance = new SqlTool(); } return(instance); }