BuildMaster SDK Reference
Version:

Read<TRow>(System.Func<IDbDataResult> getReader, bool disposeReader) Method

Returns the enumeration of strong rows.

Syntax

public static IEnumerable<TRow> Read<TRow>(Func<IDbDataResult> getReader, bool disposeReader)

Parameters

getReader
Type: System.Func<IDbDataResult>

The get reader factory.

disposeReader
Type: bool

Value indicating whether the underlying connection should be disposed.

Exceptions

System.ArgumentNullException

getReader is null (Nothing in Visual Basic).