View Single Post
  #2 (permalink)  
Old December 28th, 2012, 12:30 PM
Kaiser Kaiser is offline
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2012
Location: Newcastle, England
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

You need to look at the Classes you created for Album, Artist & Genre. It could be that you have made a typing error and the ID fields are not been seen as foreign keys due to different spellings or missing properties.

You also need to make sure you select the correct template :-

MVC controller with read/write actions and views, using Entity Framework.

Also, Check that you have the latest version of Entity Framework 4.5 installed via NuGet.

Hope this helps.