Provides helper methods to work with data models.
Default constructor
public Void DataModelHelper()
Builds an IDataModel of
public BuildModel<T>(reader, parent)
An IDataModel or a default of
Name | Type | Summary |
---|---|---|
reader | IDataReader | An opened IDataReader to get the data from. |
parent | IDataModel | An optional IDataModel of the parent object of the model beeing build. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when reader is null. |
InvalidOperationException | Thrown when the reader is closed. |
In this document