I have a DBML where I have my table within a MVC environment.
db.TruckTable.AddObject(trucktbl);
db.SaveChanges();
It isn't working as it can't find AddObject()
pertaining to the TruckTable
. I am wordering if there is another way around this to make a table save that is in a DBML file.