实体框架和Microsoft Access(再次) [英] Entity Framework and Microsoft Access (again)

查看:86
本文介绍了实体框架和Microsoft Access(再次)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能通过ms访问运行实体框架?有一篇较旧的帖子描述了问题/情况:http://social.msdn.microsoft.com/forums/en-US/adodotnetentityframework/thread/933d3c84-f18a-4f73-9dac-344f4b6dbc2f/这是真的还是有情况有变?编写ef提供程序直接访问(不是ole db)需要多少工作?

不幸的是我遇到了访问数据库,无法替换它(甚至没有sql-server和链表)。所以要么我必须使用访问权限运行实体框架,要么我必须放弃实体框架。

Wolfgang Roessler

Is there any possibility to get the entity framework running with ms access? There is an older post describing the problem/situation: http://social.msdn.microsoft.com/forums/en-US/adodotnetentityframework/thread/933d3c84-f18a-4f73-9dac-344f4b6dbc2f/ Is this still true or has the situation changed? How much effort would it require to write an ef provider directly for access (not ole db)?

Unfortunately I am stuck with the access database and can't replace it (not even with a sql-server and linked tables). So either I have to get the entity framework running with access or I have to drop the entity framework.

Wolfgang Roessler

推荐答案

嗨* ,

您可以尝试在 http://code.msdn.microsoft.com/EFSampleProvider上查看示例。但考虑到所有限制,我认为花在Access上是不值得的。也许在同一时间你可以将你的应用程序移动到真正的数据库,即ms sql。
Hi *,

you can try to look at sample at http://code.msdn.microsoft.com/EFSampleProvider. But I don't think it's worth to spend time on Access, considering all the limitations. Maybe in same time you'll be able to move you application to real database i.e. ms sql.


这篇关于实体框架和Microsoft Access(再次)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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