ToRows Method
Definition
- Namespace
- Cuemon.Extensions.Data
- Assemblies
- Cuemon.Extensions.Data.dll
ToRows(IDataReader)
Converts the specified reader implementation to a table-like data transfer object.
public static DataTransferRowCollection ToRows(this IDataReader reader)
Parameters
readerIDataReaderThe reader to be converted.
Returns
- DataTransferRowCollection
A DataTransferRowCollection that is the result of the specified
reader.
Exceptions
- ArgumentNullException
readeris null.- ArgumentException
readeris closed.