Reputation: 3253
Is there a way to get the Entity Framework that ships with .NET 3.5 to work with SQL Compact 4.0?
I have a project that relies on .NET 3.5, and I can't move to .NET 4.0 yet, so Entity Framework 4 isn't an option. My existing code base works with .NET 3.5/EF 1/SQLCE 3.5 SP2, but on multi-threaded machines I get crashes now and then.
I'd like to move to SQL CE 4.0 to see if that resolves these issues.
Upvotes: 0
Views: 833
Reputation: 3253
After doing additional research, the answer to this is no. SQL CE 4.0 will only work with EF 4.
Upvotes: 2
Reputation: 41819
Try to make the changes to the edmx file and connection string I describe here: http://erikej.blogspot.com/2010/11/using-entity-framework-with-sql-server.html
Upvotes: -1