开发者

Entity Framework stored procedure with multiple resultsets?

开发者 https://www.devze.com 2023-01-23 12:05 出处:网络
I am new to EF4 . I am using a stored procedure that r开发者_运维知识库eturns 2 resultsets? I understand that this is not possible and not supported.Pity!

I am new to EF4 .

I am using a stored procedure that r开发者_运维知识库eturns 2 resultsets? I understand that this is not possible and not supported.Pity!

What is the workaround? any code examples?

Thanks a lot


EF5 now supports this:

  • EF Releases
  • Stored Procedures with Multiple Result Sets


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

精彩评论

暂无评论...
验证码 换一张
取 消