MusicStore 'System.Data.Objects.ObjectSet<…>' does not contain a definition for 'Add' and no extension method 'Add' accepting a first argument
问题 I'm following the MusicStore tutorial I'm already on the Part 8 of the tutorial. I got this error when I tried to add the ShoppingCart class.. I tried to google for a possible solution but failed to find a clean one T_T .. based on my research I'm getting this error because I'm using edmx which is database first instead of code first on the tutorial. I had this codes added and is having an error on Add() and Remove() namespace Project.Models { public partial class ShoppingCart {