Creating and Displaying N to N Relationships part 2

Continued from CreatingNtoNRelationships

The next step is to create controller for each of the classes – we will scaffold this code through the automated controller creation. Simply right click and Add Controller. Do for Student, Class, and Grade.

After creating a few students and classes – note that the automated code generation is pretty intelligent in how it responds to many to many relationships.

But what we want is a custom display that is more efficient than this One that repeats the names and classes – Creating a Custom View of a N to N RelationshipWe will now wrap up the entire View with Creating and Displaying many to many relationships part 3