I'm beginner to Entity Framework. I have VS 2010 installed. I'm able to access data from a SQL Server Compact 3.5 .sdf
file, but I'm not able to write using Entity Framework.
This is the code I'm using:
db.Models.AddObject(new Model() {Name="myname"});
db.SaveChanges();
and I am not able to add any new data objects to SQL Server Compact 3.5 using Entity Framework - why is that and how to deal with it?
Suggestions and guidelines are highly appreciated