是否可以将 LinqPad 与代码优先模型一起使用
过去,在 LinqPad 中设置与具有 EF 模型的自定义程序集的连接很容易。 Linqpad 寻找一个基于 System.Data.Objects.ObjectContext
但不存在的模型程序集
(如果有的话)如何使其模型程序集与 LinqPad 兼容?
In the past It's been easy to set a connection in LinqPad to a custom assembly that had EF model. Linqpad looks for a that is based on System.Data.Objects.ObjectContext
which doesn't exist
How (if at all) does one make their model assembly compatible with LinqPad.?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前,LINQPad 不支持 EF CTP 的代码优先:有一个功能请求 此处。
几乎可以肯定,将来会添加支持 - 如果此 EF 功能能够通过 CTP(如果需求充足,可能会更快)。
编辑:LINQPad 现在支持 EF 4.1 的代码优先。
Right now, LINQPad does not support the EF CTP's code-first: there's a feature request here.
It's almost certain that support will be added in the future - if this EF feature makes it past CTP (and maybe sooner with sufficient demand).
Edit: LINQPad now supports code-first with EF 4.1.