0

Using code first framework in mvc, I have created a database of artists, but I want to now create a database of artwork for these individual artists. Something like this: Artist Id=1 -> Artwork Id=1,2,3,4 , Artist Id=2 -> Artwork Id=1,2,3,4 etc How would I go about doing this using code first entity framework?

Wiliam Cardoso
  • 434
  • 1
  • 8
  • 23
  • 1
    In one database you are creating multiple *tables* – Drew Oct 16 '16 at 03:57
  • @Drew I'm new to mvc so I'm not exactly sure how you do this, can i create a table within the same model? And then how would I go about linking the tables together? Thanks, Will – Wiliam Cardoso Oct 16 '16 at 15:48

0 Answers0