Entity Framework from .NET 3.5 with SQL CE 4.0

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.


After doing additional research, the answer to this is no. SQL CE 4.0 will only work with EF 4.


尝试对我在此处描述的edmx文件和连接字符串进行更改:http://erikej.blogspot.com/2010/11/using-entity-framework-with-sql-server.html

链接地址: http://www.djcxy.com/p/87288.html

上一篇: 你如何编译一个托管的dll与mono / mcs针对特定的框架?

下一篇: 来自.NET 3.5的实体框架与SQL CE 4.0