使用Entity Framework CTP4 w / SQL Compact Editon 4.0 CTP1 [英] Using Entity Framework CTP4 w/SQL Compact Editon 4.0 CTP1

查看:80
本文介绍了使用Entity Framework CTP4 w / SQL Compact Editon 4.0 CTP1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

EF的
walkthru
CTP4适用于Sql Express。 当我用Sql Compact Edition 4.0尝试它时  (CE4) 我只能让DbContext工作。  "对象上下文"示例将失败,并且"提供程序未返回
ProviderManifestToken字符串。"错误。



如果在使用CreateObjectContext时支持CE4,是否有人, 您是否可以提供一些示例代码。

The walkthru for EF CTP4 works fine with Sql Express.  When I tried it with Sql Compact Edition 4.0  (CE4)  I could only get the DbContext to work.  The "Object Context" example would fail with "The provider did not return a ProviderManifestToken string." error.

Does anyone if CE4 supported when using CreateObjectContext,  is so could you provide some sample code.

提前致谢!!

推荐答案

ObjectContext应该与SQL CE4一起使用。 
你能提供一个不起作用的代码示例吗?

ObjectContext should work with the SQL CE4.  Can you provide an example of the code you have that is not working?

 

谢谢,

< span style ="font-size:small"> Arthur


这篇关于使用Entity Framework CTP4 w / SQL Compact Editon 4.0 CTP1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆