开发者

Entity Framework stored procedure with multiple resultsets?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜