Constructs a new VariableCollection from an IDataReader.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	reader As IDataReader _
)
C#
public VariableCollection (
	IDataReader reader
)
C++
public:
VariableCollection (
	IDataReader^ reader
)

Parameters

reader (System.Data.IDataReader)
An object that implements the IDataReader interface, such as SqlDataReader or OleDbDataReader

Remarks

The columns of the table are converted into variables according to the following rules:

Exceptions

ExceptionCondition
ArgumentNullExceptiondataTable is nullNothingnullptr.