EF Code First DbContext and Compiled Queries

北城以北 提交于 2019-12-11 12:54:19

问题


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.


回答1:


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

and/or here:
http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1012355-automatic-compiled-queries?ref=title



来源:https://stackoverflow.com/questions/5031935/ef-code-first-dbcontext-and-compiled-queries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!