Asp DotNet MVC Tutorial For Beginner Introduction Part 3
Adding Models To Projects
1. Open the Microsoft visual studio.Click on Model in the solution explorer at the right side of the page. We can see the model that are created by default.
2. In order to add a model , click on the 'model' option then click on 'Add' and from that click on 'class'
3. Specify the name of the class to add and then continue by clicking on the 'Add' button.
Creation Of Model1. Then we can open the model that created and add contents to it. For example , I write code for Movie class
In this way we can add model class to a project.This classes basically to implement and maintain database and tables in the project