是否可以将 LinqPad 与代码优先模型一起使用

发布于 2024-10-08 17:53:12 字数 194 浏览 0 评论 0原文

过去,在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

红颜悴 2024-10-15 17:53:12

目前,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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文