Table of Contents

Method EnumerateValues

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

EnumerateValues(IDataRecord)

Lazily enumerates the value of every column of the current row in ordinal order.

public static IEnumerable<object> EnumerateValues(this IDataRecord record)

Parameters

record IDataRecord

The record to read the values from.

Returns

IEnumerable<object>

An enumerable of values. The values are read from the record as the enumerable is enumerated.

Exceptions

ArgumentNullException

record is null.