Esempio n. 1
0
 public static DataTable ExecuteQuery(this IDAC dac, string query)
 {
     using (var scope = dac.BeginScope())
         using (var reader = dac.ExecuteReader(query))
             return(reader.ToDataTable());
 }
Esempio n. 2
0
 public virtual IDataReader ExecuteReader(string query)
 {
     return(DecoratedDAC.ExecuteReader(query));
 }