实体框架存储过程具有多个结果集? [英] Entity Framework stored procedure with multiple resultsets?

查看:54
本文介绍了实体框架存储过程具有多个结果集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是EF4的新手。

我正在使用返回2个结果集的存储过程?
我知道这是不可能且不受支持的。可惜!

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

解决方法是什么?任何代码示例?

What is the workaround? any code examples?

非常感谢

推荐答案

博客文章关于此主题: http://blogs.infosupport.com/blogs/willemm/archive/2010/07/16/ado-net-entity-framework-advanced-scenarios使用存储过程返回多个结果集.aspx

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

一些可能有用的扩展名: http://code.msdn.microsoft.com/EFExtensions

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

这篇关于实体框架存储过程具有多个结果集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆