Create a data source reading from any IDataReader source. The reader will be treated as not resetable, therefore this data source object can be used only once.

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static IInfigoDataSource CreateIDataReaderDataSource(
	IDataReader reader
)
Visual Basic (Declaration)
Public Shared Function CreateIDataReaderDataSource ( _
	reader As IDataReader _
) As IInfigoDataSource
Visual C++
public:
static IInfigoDataSource^ CreateIDataReaderDataSource(
	IDataReader^ reader
)

Parameters

reader
Type: System.Data..::.IDataReader
The IDataReader object to read from.

Return Value

The new IInfigoDataSource or null on error.

See Also