can you have too many dto/bo - mapping method
Posted
by
Fredou
on Programmers
See other posts from Programmers
or by Fredou
Published on 2013-12-02T14:50:54Z
Indexed on
2014/06/01
9:38 UTC
Read the original article
Hit count: 288
I have a windows service, 2 web services and a web interface that need to follow the same path (data wise).
So I came up with two ways of creating my solution.
My concern is the fact that the UI/WS/etc will have their own kind of DTO (let's say the model in ASP.Net MVC) that should be mapped to a DTO so the SL can then map it to a BO then mapping it to the proper EF6 DTO so that I can save it in a database.
So I'm thinking of doing it this way
to remove one level of mapping.
Which one should I take? Or is there a 3rd solution?
© Programmers or respective owner