Пример #1
0
        public DataTable ToDataTable(bool removeReadonly = true)
        {
            var reader = _c.ExecuteReader(_command, _params, _t, _timeout, _commandType);

            return(DataReaderHelper.ReadTable(reader, removeReadonly));
        }
Пример #2
0
        public async Task <DataTable> ToDataTableAsync(bool removeReadonly = true)
        {
            var reader = await _c.ExecuteReaderAsync(_command, _params, _t, _timeout, _commandType);

            return(DataReaderHelper.ReadTable(reader, removeReadonly));
        }