ASP.NET MVC Database Views -


Quick questions about database views I'm assuming that I can create a database of different tables and how to Add joints and then when I query, add, delete, etc. I can edit. MVC will understand all this without any complex work in the controller or in the store?

There is a strange question but just wanted to make sure that my belief was valid. Cheers

Unfortunately, MVC will not understand all this for you, you still have to write the communication from the database Use the SQL code (or ).

There is a clear isolation of responsibilities that MVC gives you with its architecture:

  • Views is responsible for displaying the data and should be as simple as possible (i.e. There is no argument) in the model and the rules

  • Controllers are responsible for passing the data between the model and the view.

Comments