public Mapper(MapperTypeEnum mapperType) { switch (mapperType) { case MapperTypeEnum.ConventionBasedMapper: _mapper = new ConventionMapper <DatabaseClass, DtoClass>(); break; case MapperTypeEnum.SameNamesMapper: _mapper = new SameNamesMapper <DatabaseClass, DtoClass>(); break; default: break; } }
public Utilities(MapperTypeEnum mapperType) { _mapperType = mapperType; }