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