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