Is an object model a model replacement in mvc

Please forgive me if this is a stupid question, but if I use an entity framework, I don’t need to create model classes manually? Does an entity model change the need for a model?

Suggestions are welcome for a fully functional pen :)

+3
source share
1 answer

I voted for this question because people ask me a lot about it, and I think there is an important interpretation of this design pattern.

The model in MVC has the sole purpose of acting as a bag of properties that must be passed between the controller and the view.

, , , ? . - , , .

, .

+2

Source: https://habr.com/ru/post/1788441/


All Articles