Asp.net mvc, entity framework, Poco - Architecture

Posted by user1576228 on Stack Overflow See other posts from Stack Overflow or by user1576228
Published on 2012-10-28T22:18:36Z Indexed on 2012/10/28 23:01 UTC
Read the original article Hit count: 322

I have a "small" enterprise application, aspnet mvc 3 + entity framework with POCO entity and repository pattern. I structured the solution in 4 projects:

  1. POCO entities
  2. Domain model
  3. Services
  4. web application

When the application performs a query on the database, use one of the services provided, the service uses the repository and the small classes, as a result I have some dynamic proxy objects that I would like to convert in my domain entities, before using them in mvc views, but I do not know how. Dovrebber be set as the translator?

This approach is reasonable?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc