.Net MVC + EF build a student management system

Function: Use Entity Framework to map objects and data. You don't need to create a table in the database. Just configure the entity class information in the Model and use the entity class to automatically generate the database table.
1. Create a project Insert picture description here
2. Select web.Net Framework Insert picture description here
3. Configure the project name Insert picture description here
4. Select MVC, you can use authentication, use the registration and login that comes with the systemInsert picture description here

5. Three files such as Account generated by the system are used for registration and login functions Insert picture description here
. 6. Create a new StudentModel. When the project is running, the corresponding table can be automatically generated in the database through StudentModel, Course and StudentClass. Insert picture description here
7. New StudentController controllerInsert picture description here

8. Run the project
Insert picture description here
Click Creat new to add student information.
Insert picture description here
Click Edit to modify.
Insert picture description here
Click detail to view details.
Insert picture description here
Course management
Insert picture description here
Click Creat new to add courses, Edit, etc.
Insert picture description here
Class management
Insert picture description here
Click Create new to create a new class, Edit, etc.
Insert picture description here

9. View the database
Insert picture description here

10. Change the page title information
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_40550118/article/details/110851360