user interface - Domain Entity and UI Entity -


we creating project using mvc c# in application having following layers:

  • presentation (mvc)
    • controller
    • view
  • domain
    • domain entity
    • repository interface
    • interface unit of works
  • infrastructure (dataaccess)
    • repository
    • unit of works
    • edmx
    • data entity

our domain entity , data entity same. poco class. have bound our views domain entity tightly coupled.

question:

1. correct or create viewmodel entity our views?

2. pass our data entity our view save on mapping?

i dont think rigth... talking mvc, our layers meens model, view,controller, maybe


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -