Solved

Multiple result set from a Stored Proc using LINQ

Posted on 2008-10-23
4
656 Views
Last Modified: 2013-11-11
hi,
I have a admittedly weird stored proc which returns 0 or 1, but also returns an xml using select, which is the result i need.  now when i dragged the stored proc to the DBML the resulting method is returning int(which means it is returning only the return value not the select return result set.), if i change the method to return IMultiple Result , should it return all the result set? do i have to do anything else?

thanks
0
Comment
Question by:jyotishb
  • 2
4 Comments
 
LVL 62

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 22787438
Hi jyotishb;

Here is a link showing step by step on how to do it.

http://blogs.msdn.com/swiss_dpe_team/archive/2008/02/04/linq-to-sql-returning-multiple-result-sets.aspx

Fernando
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 22868146
Have you tried the steps posted in the link?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Not showing JavaScript in the list 5 52
Handle KeyDown for ToolStripDropDownButton, ToolStripMenuItem 3 26
ASP.NET MVC 2 31
Regular expression help 2 24
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question