Monthly Archives: July 2013

Modelmapper

In clean software development, with clean nice layers, there is one small problem relating entities. Every layer has own, most of the time similar entities. So there is a DB entity, an BusinessObject (BO) and there could be a TransferObject (TO) and so on. And mapping is a pain.

Modelmapper is the solution.

This framework simply mappes to objects and first hands on, this framework is great. Ok my entities where simple… DB Entity -> EntityBO both mainly similar, but with Lists of Objects and actually it worked out of the box. I didnt need any special MapperStrategy.

Love it.