Entity Framework stored procedure with multiple resultsets?

前端 未结 2 1149
清歌不尽
清歌不尽 2020-12-25 14:28

I am new to EF4 .

I am using a stored procedure that returns 2 resultsets? I understand that this is not possible and not supported.Pity!

What is the workaro

相关标签:
2条回答
  • 2020-12-25 15:06

    A blog post on the subject: http://blogs.infosupport.com/blogs/willemm/archive/2010/07/16/ado-net-entity-framework-advanced-scenarios-working-with-stored-procedures-that-return-multiple-resultsets.aspx

    Some possibly useful extensions: http://code.msdn.microsoft.com/EFExtensions

    0 讨论(0)
  • 2020-12-25 15:06

    EF5 now supports this:

    • EF Releases
    • Stored Procedures with Multiple Result Sets
    0 讨论(0)
提交回复
热议问题