1 implementation of IDataReader
System.Data.Common (1)
System\Data\Common\DbDataReader.cs (1)
14public abstract class DbDataReader : MarshalByRefObject, IDataReader, IEnumerable, IAsyncDisposable
45 references to IDataReader
netstandard (1)
netstandard.cs (1)
538[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.IDataReader))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
104[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.IDataReader))]
System.Data.Common (38)
System\Data\Common\DataAdapter.cs (7)
258protected virtual DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, string srcTable, IDataReader dataReader) 291protected virtual DataTable? FillSchema(DataTable dataTable, SchemaType schemaType, IDataReader dataReader) 320internal object? FillSchemaFromReader(DataSet? dataset, DataTable? datatable, SchemaType schemaType, string? srcTable, IDataReader dataReader) 373protected virtual int Fill(DataSet dataSet, string srcTable, IDataReader dataReader, int startRecord, int maxRecords) 412protected virtual int Fill(DataTable dataTable, IDataReader dataReader) 418protected virtual int Fill(DataTable[] dataTables, IDataReader dataReader, int startRecord, int maxRecords) 801internal int FillFromReader(DataTable[] dataTables, IDataReader dataReader, int startRecord, int maxRecords)
System\Data\Common\DbCommand.cs (2)
113IDataReader IDbCommand.ExecuteReader() => ExecuteDbDataReader(CommandBehavior.Default); 117IDataReader IDbCommand.ExecuteReader(CommandBehavior behavior) => ExecuteDbDataReader(behavior);
System\Data\Common\DbDataAdapter.cs (3)
419using (IDataReader dataReader = command.ExecuteReader(behavior | CommandBehavior.SchemaOnly | CommandBehavior.KeyInfo)) 634IDataReader? dataReader = null; 1511using (IDataReader dataReader = dataCommand.ExecuteReader(CommandBehavior.SequentialAccess))
System\Data\Common\DbDataReader.cs (1)
163IDataReader IDataRecord.GetData(int ordinal) => GetDbDataReader(ordinal);
System\Data\Common\DbDataRecord.cs (1)
29public IDataReader GetData(int i) => GetDbDataReader(i);
System\Data\Common\DbEnumerator.cs (5)
13internal IDataReader _reader; 21public DbEnumerator(IDataReader reader) 30public DbEnumerator(IDataReader reader, bool closeReader) 41: this((IDataReader)reader) 46: this((IDataReader)reader, closeReader)
System\Data\DataSet.cs (3)
3610public virtual void Load(IDataReader reader, LoadOption loadOption, FillErrorEventHandler? errorHandler, params DataTable[] tables) 3645public void Load(IDataReader reader, LoadOption loadOption, params DataTable[] tables) => 3649public void Load(IDataReader reader, LoadOption loadOption, params string[] tables)
System\Data\DataTable.cs (3)
4968public void Load(IDataReader reader) => Load(reader, LoadOption.PreserveChanges, null); 4971public void Load(IDataReader reader, LoadOption loadOption) => Load(reader, loadOption, null); 4974public virtual void Load(IDataReader reader, LoadOption loadOption, FillErrorEventHandler? errorHandler)
System\Data\DataTableReader.cs (1)
702return new DbEnumerator((IDataReader)this);
System\Data\IDataRecord.cs (1)
34IDataReader GetData(int i);
System\Data\IDbCommand.cs (2)
22IDataReader ExecuteReader(); 23IDataReader ExecuteReader(CommandBehavior behavior);
System\Data\ProviderBase\DataReaderContainer.cs (5)
12protected readonly IDataReader _dataReader; 15internal static DataReaderContainer Create(IDataReader dataReader, bool returnProviderSpecificTypes) 28protected DataReaderContainer(IDataReader dataReader) 79internal ProviderSpecificDataReader(IDataReader dataReader, DbDataReader dbDataReader) : base(dataReader) 122internal CommonLanguageSubsetDataReader(IDataReader dataReader) : base(dataReader)
System\Data\ProviderBase\SchemaMapping.cs (4)
468using (IDataReader nestedReader = (IDataReader)readerValue) 596if (typeof(IDataReader).IsAssignableFrom(fieldType)) 821if (typeof(IDataReader).IsAssignableFrom(fieldType))
System.Data.Odbc (3)
src\libraries\Common\src\System\Data\Common\BasicFieldNameLookup.cs (1)
43public BasicFieldNameLookup(IDataReader reader)
src\libraries\Common\src\System\Data\Common\FieldNameLookup.cs (1)
28public FieldNameLookup(IDataReader reader, int defaultLocaleID) : base(reader)
System\Data\Odbc\OdbcDataReader.cs (1)
412return new DbEnumerator((IDataReader)this, IsCommandBehavior(CommandBehavior.CloseConnection));
System.Data.OleDb (2)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (2)
56System.Data.IDataReader System.Data.IDbCommand.ExecuteReader() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 57System.Data.IDataReader System.Data.IDbCommand.ExecuteReader(System.Data.CommandBehavior behavior) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }