- The Model
- The View
- The View-Model
The Model is your database object. If you are using SQL Server and have a Products table, then your Products table is your Model. It’s that simple.
The View is your database entity. If you are using the Entity Framework and have a Products class, then your Products class is your View. It’s that simple.
The View-Model is not a combination of your View and Model. Instead, it is a combination of two things: 1) one or more Views, and 2) the logic to interact with your Models.