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