问题
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