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