Question
Create a new MVC application name EnrollementApplication Create a Student class under Model folder. Student id Student last name Student first name Create a Course
Create a new MVC application name EnrollementApplication
Create a Student class under Model folder.
Student id
Student last name
Student first name
Create a Course class under Model folder.
Course id
Course title
Course description
Course credits
Create an Enrollment class under Model folder.
Enrollment Id
Student id
Course id
Grade
Student object
Course object
Build the application
Create an EnrollmentController
Choose MVC 5 controller with views, using Entity Framework and click Add
Select the model class as Enrollment class
Click the + sign to create a new Data Context class called EnrollmentDB
Name the controller as EnrollmentController
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started