public DataTable ToDataTable(bool removeReadonly = true) { var reader = _c.ExecuteReader(_command, _params, _t, _timeout, _commandType); return(DataReaderHelper.ReadTable(reader, removeReadonly)); }
public async Task <DataTable> ToDataTableAsync(bool removeReadonly = true) { var reader = await _c.ExecuteReaderAsync(_command, _params, _t, _timeout, _commandType); return(DataReaderHelper.ReadTable(reader, removeReadonly)); }