Class DataReader
Inheritance
System.Object
DataReader
Assembly: linq2db.dll
Syntax
public class DataReader : IDisposable
Constructors
|
Improve this Doc
View Source
DataReader(CommandInfo, DataReaderWrapper)
Declaration
public DataReader(CommandInfo commandInfo, DataReaderWrapper dataReader)
Parameters
Properties
|
Improve this Doc
View Source
CommandInfo
Declaration
public CommandInfo CommandInfo { get; }
Property Value
|
Improve this Doc
View Source
Reader
Declaration
public DbDataReader? Reader { get; }
Property Value
Type |
Description |
System.Nullable<DbDataReader> |
|
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Execute<T>()
Declaration
Returns
Type Parameters
|
Improve this Doc
View Source
Query<T>()
Declaration
public IEnumerable<T> Query<T>()
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
Query<T>(T)
Declaration
public IEnumerable<T> Query<T>(T template)
Parameters
Type |
Name |
Description |
T |
template |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
Query<T>(Func<DbDataReader, T>)
Declaration
public IEnumerable<T> Query<T>(Func<DbDataReader, T> objectReader)
Parameters
Type |
Name |
Description |
Func<DbDataReader, T> |
objectReader |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
Extension Methods