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