开发者

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

开发者 https://www.devze.com 2023-01-30 21:38 出处:网络
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 exi

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

精彩评论

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