开发者

Is it possible to use LinqPad with a code-first model

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 开发者_Go百科is based on System.Data.Objects.ObjectContext which doesn't exist

How (if at all) does one make their model assembly compatible with LinqPad.?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜