IDataReaderMapperContext InterfaceNReco.Data Class Library Documentation
Represents context for custom DataReaderResult data mapping to POCO models.

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public interface IDataReaderMapperContext

The IDataReaderMapperContext type exposes the following members.

Methods

  NameDescription
Public methodMapTo(Object)
Performs default data mapping to specified object (data annotations are used if present).
Public methodMapTo(Type)
Creates model of specified type and performs default mapping to this object.
Top
Properties

  NameDescription
Public propertyDataReader
Data reader with current record's data.
Public propertyObjectType
Target POCO model type.
Top
See Also