C# Class NPoco.RowMappers.PropertyMapper

Inheritance: RowMapper
显示文件 Open project: schotime/NPoco

Public Methods

Method Description
Init ( System.Data.Common.DbDataReader dataReader, PocoData pocoData ) : void
IsEqual ( string name, string value ) : bool
Map ( System.Data.Common.DbDataReader dataReader, NPoco.RowMappers.RowMapperContext context ) : object
ShouldMap ( PocoData pocoData ) : bool

Private Methods

Method Description
BuildMapPlan ( System.Data.Common.DbDataReader dataReader, PocoData pocoData ) : MapPlan
BuildMapPlans ( GroupResult groupedName, System.Data.Common.DbDataReader dataReader, PocoData pocoData, List pocoMembers ) : IEnumerable
CreateDynamicDictionaryPocoMembers ( IEnumerable subItems, PocoData pocoData ) : List
MapValue ( GroupResult posName, object values, object>.Func converter, object instance, PocoColumn pocoColumn, object defaultValue ) : bool

Method Details

Init() public method

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

IsEqual() public static method

public static IsEqual ( string name, string value ) : bool
name string
value string
return bool

Map() public method

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

ShouldMap() public method

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