MobileForms Toolkit Documentation

Mapping  Constructor (IDataRecord)

Creates the mapping from the data reader (or other IDataRecord).

public Mapping(
IDataRecord reader
);

Parameters

reader
Data reader or IDataRecord, must have unique field names

Remarks

Use this constructor when loading data from database with the IDataReader. The order of names and their count cannot be changed.

Example

[VisualBasic]
 Dim map As New Mapping(reader) 
[C#]
 Mapping map = new Mapping(reader); 
            

See Also

Mapping Class | Resco.Controls.AdvancedTree Namespace | Mapping Constructor Overload List