C# Class NPoco.RowMappers.RowMapper

Inheritance: IRowMapper
Exibir arquivo Open project: schotime/NPoco

Public Methods

Method Description
GetConverter ( PocoData pocoData, PocoColumn pocoColumn, Type sourceType, Type desType ) : object>.Func
Init ( System.Data.Common.DbDataReader dataReader, PocoData pocoData ) : void
Map ( System.Data.Common.DbDataReader dataReader, NPoco.RowMappers.RowMapperContext context ) : object
ShouldMap ( PocoData pocoData ) : bool

Protected Methods

Method Description
GetColumnNames ( System.Data.Common.DbDataReader dataReader, PocoData pocoData ) : NPoco.RowMappers.PosName[]

Method Details

GetColumnNames() protected method

protected GetColumnNames ( System.Data.Common.DbDataReader dataReader, PocoData pocoData ) : NPoco.RowMappers.PosName[]
dataReader System.Data.Common.DbDataReader
pocoData PocoData
return NPoco.RowMappers.PosName[]

GetConverter() public static method

public static GetConverter ( PocoData pocoData, PocoColumn pocoColumn, Type sourceType, Type desType ) : object>.Func
pocoData PocoData
pocoColumn PocoColumn
sourceType System.Type
desType System.Type
return object>.Func

Init() public method

public Init ( System.Data.Common.DbDataReader dataReader, PocoData pocoData ) : void
dataReader System.Data.Common.DbDataReader
pocoData PocoData
return void

Map() public abstract method

public abstract Map ( System.Data.Common.DbDataReader dataReader, NPoco.RowMappers.RowMapperContext context ) : object
dataReader System.Data.Common.DbDataReader
context NPoco.RowMappers.RowMapperContext
return object

ShouldMap() public abstract method

public abstract ShouldMap ( PocoData pocoData ) : bool
pocoData PocoData
return bool