EF code首先的DbContext和编译查询 [英] EF Code First DbContext and Compiled Queries

查看:130
本文介绍了EF code首先的DbContext和编译查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人听说过,如果有,我们是否会有编译EF code首先DbContexts查询任何单词?或者,如果它已经是可能的,我做错了,可有人点我在正确的方向?这似乎Bing和谷歌没有大量的信息上它。

Has anybody heard if there is any word on whether we will have compiled queries with EF Code First DbContexts? Or, if it is already possible, and I am doing it wrong, can somebody point me in the right direction? It would seem Bing and Google don't have a lot of information on it yet.

推荐答案

在CTP4已编译的查询的支持,但它是在去除CTP5,投上一票,如果你想让它回到这里:结果
<一href=\"http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1379241-bring-back-compiled-queries-in-$c$c-first\" rel=\"nofollow\">http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1379241-bring-back-compiled-queries-in-$c$c-first

The CTP4 had compiled query support, but it was removed in CTP5, vote it up if you want it back here:
http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1379241-bring-back-compiled-queries-in-code-first

和/或在这里:结果
<一href=\"http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1012355-automatic-compiled-queries?ref=title\" rel=\"nofollow\">http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1012355-automatic-compiled-queries?ref=title

这篇关于EF code首先的DbContext和编译查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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