Esempio n. 1
0
 public CustomRowMapperForEntlib(PopulateMethodDelegate <T> mapDelegate)
 {
     _populateMethod = mapDelegate;
 }
Esempio n. 2
0
 public static IRowMapper <T> GetMapper <T>(this Database database, PopulateMethodDelegate <T> mapDelegate) where T : new()
 {
     return(new CustomRowMapperForEntlib <T>(mapDelegate));
 }
Esempio n. 3
0
 public CustomRowMapperForEntlib(string mapName)
 {
     _populateMethod = RowMapper.Instance.GetPopulateMethod <T>(mapName);
 }