Emit Mapper

Powerful customisable tool for mapping entities to each other
Download

Emit Mapper Ranking & Summary

Advertisement

  • Rating:
  • Publisher Name:
  • RomanKovs
  • Operating Systems:
  • Windows XP / Vista / 7
  • File Size:
  • 41 KB

Emit Mapper Tags


Emit Mapper Description

The Emit Mapper package provides a powerful customisable tool for mapping entities to each other. Entities can be plain objects, DataReaders, SQL commands and anything you need. The tool uses run-time code generation via the Emit library. It is usefull for dealing with DTO objects, data access layers an so on. There are lot of situations when you have to perform some action with each member (field or property) of an object. The classic case is DTO objects. Let's imagine that you have a Data Access Layer. Inside this layer you use some tool to access to database. It can be for example LINQ to SQL, or Entities Framework or some other ORM tool. These tools can expose classes that represent database tables or in more general case database entities. The problem is that these classes contain a lot of technical details about your ORM tool. It can be specific base class, attributes, properties, fields and so on. It is not good idea to expose these classes to outside your Data Access Library because sometime it is lack of encapsulation (what if you decide to change ORM tool?) and sometimes it is impossible at all. The acceptably solution is to use DTO (Data Transition Objects).


Emit Mapper Related Software