Does EF7 support EDMX approach?.How to use EF7 to execute stored procedure?

↘锁芯ラ 提交于 2019-12-10 19:27:12

问题


Does EF7 support EDMX approach?.How to use EF7 to execute stored procedure?. Any suggestion is appreciable.


回答1:


There is no EDMX support, but Database First Will Continue.Here you can find out more.

EF 7 will support multiple result sets in the future, but at this stage there is no support for them. You can track the Stored procedure support on this GIT issue.

Hope this helps to you.




回答2:


EF Core, does not support EDMX, nor its preceding EF 6.x

In the other hand, it already supports stored procedures that returns result sets. The requirement is that the class this script will hydrate need to be declared as a DbSet in the DbContext.

Take a look at this thread for details.



来源:https://stackoverflow.com/questions/36864049/does-ef7-support-edmx-approach-how-to-use-ef7-to-execute-stored-procedure

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