Category: .NET Core
view more software Tips and Tricks
Updated: 10/16/2017 17:10 PM
Author: Shiju Mathews
An 'Entity' is the representation of the Database table schema. ViewModel is an object used to carry data from a controller to a model. ViewModel uses multiple entities to pull the data, that the view needs. When the data is returning to the database the ViewModel uses multiple entities to map the data from the ViewModel.
The 'Entity' is focused on the database and the ViewModel is concentrated on the view. .