3 types derived from DbDataReader
System.Data.Common (1)
System\Data\DataTableReader.cs (1)
10
public sealed class DataTableReader :
DbDataReader
System.Data.Odbc (1)
System\Data\Odbc\OdbcDataReader.cs (1)
16
public sealed class OdbcDataReader :
DbDataReader
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
186
public sealed partial class OleDbDataReader : System.Data.Common.
DbDataReader
78 references to DbDataReader
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
UserStoreEncryptPersonalDataTest.cs (2)
127
using (
var
reader = command.ExecuteReader())
149
using (
var
reader = command.ExecuteReader())
Microsoft.Data.Analysis (3)
DataFrame.IO.cs (3)
182
public static DataFrame FromSchema(
DbDataReader
reader)
199
public static async Task<DataFrame> LoadFrom(
DbDataReader
reader)
223
using
var
reader = await adapter.SelectCommand.ExecuteReaderAsync();
Microsoft.ML.Data (2)
DataLoadSave\Database\DatabaseLoaderCursor.cs (2)
27
private
DbDataReader
_dataReader;
84
public
DbDataReader
DataReader
netstandard (1)
netstandard.cs (1)
459
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbDataReader
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
33
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbDataReader
))]
System.Data.Common (65)
System\Data\Common\DbBatch.cs (5)
33
public
DbDataReader
ExecuteReader(CommandBehavior behavior = CommandBehavior.Default)
36
protected abstract
DbDataReader
ExecuteDbDataReader(CommandBehavior behavior);
38
public Task<
DbDataReader
> ExecuteReaderAsync(CancellationToken cancellationToken = default)
41
public Task<
DbDataReader
> ExecuteReaderAsync(
46
protected abstract Task<
DbDataReader
> ExecuteDbDataReaderAsync(
System\Data\Common\DbCommand.cs (11)
107
protected abstract
DbDataReader
ExecuteDbDataReader(CommandBehavior behavior);
111
public
DbDataReader
ExecuteReader() => ExecuteDbDataReader(CommandBehavior.Default);
115
public
DbDataReader
ExecuteReader(CommandBehavior behavior) => ExecuteDbDataReader(behavior);
150
public Task<
DbDataReader
> ExecuteReaderAsync() =>
153
public Task<
DbDataReader
> ExecuteReaderAsync(CancellationToken cancellationToken) =>
156
public Task<
DbDataReader
> ExecuteReaderAsync(CommandBehavior behavior) =>
159
public Task<
DbDataReader
> ExecuteReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) =>
162
protected virtual Task<
DbDataReader
> ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
166
return ADP.CreatedTaskWithCancellation<
DbDataReader
>();
178
return Task.FromResult<
DbDataReader
>(ExecuteReader(behavior));
182
return Task.FromException<
DbDataReader
>(e);
System\Data\Common\DBCommandBuilder.cs (1)
650
using (
DbDataReader
dataReader = sourceCommand.ExecuteReader(CommandBehavior.SchemaOnly | CommandBehavior.KeyInfo))
System\Data\Common\DbDataReader.cs (7)
79
/// Returns a <see cref="DataTable" /> that describes the column metadata of the ><see cref="
DbDataReader
" />.
85
/// <exception cref="InvalidOperationException">The <see cref="
DbDataReader
" /> is closed.</exception>
121
/// This is the asynchronous version of <see cref="DbDataReaderExtensions.GetColumnSchema(
DbDataReader
)" />.
125
/// <see cref="DbDataReaderExtensions.GetColumnSchema(
DbDataReader
)" /> call and returns a completed task.
127
/// Exceptions thrown by <see cref="DbDataReaderExtensions.GetColumnSchema(
DbDataReader
)" /> will be
161
public
DbDataReader
GetData(int ordinal) => GetDbDataReader(ordinal);
165
protected virtual
DbDataReader
GetDbDataReader(int ordinal)
System\Data\Common\DbDataReaderExtensions.cs (3)
55
public static ReadOnlyCollection<DbColumn> GetColumnSchema(this
DbDataReader
reader)
66
public static bool CanGetColumnSchema(this
DbDataReader
reader)
71
private static ReadOnlyCollection<DbColumn> GetColumnSchemaCompatibility(
DbDataReader
reader)
System\Data\Common\DbDataRecord.cs (1)
31
protected virtual
DbDataReader
GetDbDataReader(int i)
System\Data\Common\DbDataSource.cs (4)
215
protected override
DbDataReader
ExecuteDbDataReader(CommandBehavior behavior)
240
protected override async Task<
DbDataReader
> ExecuteDbDataReaderAsync(
474
protected override
DbDataReader
ExecuteDbDataReader(CommandBehavior behavior)
499
protected override async Task<
DbDataReader
> ExecuteDbDataReaderAsync(
System\Data\Common\DbEnumerator.cs (2)
40
public DbEnumerator(
DbDataReader
reader)
45
public DbEnumerator(
DbDataReader
reader, bool closeReader)
System\Data\DataReaderExtensions.cs (27)
14
public static bool GetBoolean(this
DbDataReader
reader, string name)
21
public static byte GetByte(this
DbDataReader
reader, string name)
28
public static long GetBytes(this
DbDataReader
reader, string name, long dataOffset, byte[] buffer, int bufferOffset, int length)
35
public static char GetChar(this
DbDataReader
reader, string name)
42
public static long GetChars(this
DbDataReader
reader, string name, long dataOffset, char[] buffer, int bufferOffset, int length)
50
public static
DbDataReader
GetData(this
DbDataReader
reader, string name)
57
public static string GetDataTypeName(this
DbDataReader
reader, string name)
64
public static DateTime GetDateTime(this
DbDataReader
reader, string name)
71
public static decimal GetDecimal(this
DbDataReader
reader, string name)
78
public static double GetDouble(this
DbDataReader
reader, string name)
85
public static Type GetFieldType(this
DbDataReader
reader, string name)
92
public static T GetFieldValue<T>(this
DbDataReader
reader, string name)
99
public static Task<T> GetFieldValueAsync<T>(this
DbDataReader
reader, string name, CancellationToken cancellationToken = default(CancellationToken))
106
public static float GetFloat(this
DbDataReader
reader, string name)
113
public static Guid GetGuid(this
DbDataReader
reader, string name)
120
public static short GetInt16(this
DbDataReader
reader, string name)
127
public static int GetInt32(this
DbDataReader
reader, string name)
134
public static long GetInt64(this
DbDataReader
reader, string name)
142
public static Type GetProviderSpecificFieldType(this
DbDataReader
reader, string name)
150
public static object GetProviderSpecificValue(this
DbDataReader
reader, string name)
157
public static Stream GetStream(this
DbDataReader
reader, string name)
164
public static string GetString(this
DbDataReader
reader, string name)
171
public static TextReader GetTextReader(this
DbDataReader
reader, string name)
178
public static object GetValue(this
DbDataReader
reader, string name)
185
public static bool IsDBNull(this
DbDataReader
reader, string name)
192
public static Task<bool> IsDBNullAsync(this
DbDataReader
reader, string name, CancellationToken cancellationToken = default(CancellationToken))
System\Data\ProviderBase\DataReaderContainer.cs (4)
19
DbDataReader
? providerSpecificDataReader = (dataReader as
DbDataReader
);
77
private readonly
DbDataReader
_providerSpecificDataReader;
79
internal ProviderSpecificDataReader(IDataReader dataReader,
DbDataReader
dbDataReader) : base(dataReader)
System.Data.Odbc (2)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
149
DbDataReader
? reader = null;
System\Data\Odbc\OdbcCommand.cs (1)
539
protected override
DbDataReader
ExecuteDbDataReader(CommandBehavior behavior)
System.Data.OleDb (2)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (2)
49
protected override System.Data.Common.
DbDataReader
ExecuteDbDataReader(System.Data.CommandBehavior behavior) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }
208
protected override System.Data.Common.
DbDataReader
GetDbDataReader(int ordinal) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }