MVC 4应用实体数据模型问题 [英] MVC 4 Application Entity Data Model Problem

查看:86
本文介绍了MVC 4应用实体数据模型问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的存储过程有来自不同表的多个Select语句,它们之间没有关系。

我的问题是当我在MVC 4应用程序实体数据模型中调用此存储过程时它只占用第1个选择Statement但我想要所有select语句。

My Stored Procedure have Multiple Select Statement from Different tables and there is no relationship between them.
my Problem is when I Called this Stored Procedure in MVC 4 Application Entity Data Model it is taking only 1st Select Statement but I want all select Statement.

推荐答案

这篇文章将帮助你:

使用返回多个结果集的存储过程 [< a href =http://blogs.infosupport.com/ado-net-entity-framework-advanced-scenarios-working-with-stored-procedures-that-return-multiple-resultsets/\"target =_ blanktitle = 新窗口> ^ ]
This article will help you out:
Working with stored procedures that return multiple resultsets[^]


这篇关于MVC 4应用实体数据模型问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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