Class DataReaderWrapper
Disposable wrapper over
Inheritance
System.Object
DataReaderWrapper
Namespace: LinqToDB.Data
Assembly: linq2db.dll
Syntax
public class DataReaderWrapper : IDisposable
Constructors
| Improve this Doc View SourceDataReaderWrapper(DbDataReader)
Creates wrapper instance for specified data reader.
Declaration
public DataReaderWrapper(DbDataReader dataReader)
Parameters
Type | Name | Description |
---|---|---|
DbDataReader | dataReader | Wrapped data reader instance. |
Properties
| Improve this Doc View SourceDataReader
Declaration
public DbDataReader? DataReader { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DbDataReader> |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()