Пример #1
0
 protected override void Establish_context()
 {
     _customProfile = new CustomProfile1();
     MicroMapper.MicroMapper.AddProfile(_customProfile);
     MicroMapper.MicroMapper.AddProfile<CustomProfile2>();
 }
Пример #2
0
 protected override void Establish_context()
 {
     _customProfile = new CustomProfile1();
     Mapper.AddProfile(_customProfile);
     Mapper.AddProfile <CustomProfile2>();
 }