Defining a Many-to-Many Relationship with an Explicit Bridge Entity10:25 with James Churchill
Our model allows us to associate artists with comic books, but our current approach doesn't allow us to specify the role that the artist had. To do that, let's move from an "implicit" bridge table to an "explicit" one, by adding an entity class to our model for the bridge table.
To follow along commiting your changes to this course, you'll need to fork the dotnet-comic-book-gallery-model repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork> cd dotnet-comic-book-gallery-model git checkout tags/v3.5 -b defining-many-to-many-relationship-with-an-explicit-bridge-entity
You need to sign up for Treehouse in order to download course files.Sign up