public static DataSet Query(List <string> sqls) { using (var conn = BaseDataBaseTools.GetDbConnection() as SqlConnection) { return(conn.Select(sqls)); } }
public static DataTable Query(string sql) { using (var conn = BaseDataBaseTools.GetDbConnection() as SqlConnection) { return(conn.Select(sql)); } }