Guy Barrette, Microsoft, Regional Director, Montreal, Canada, Visual Studio, .NET Expertise LINQ to SQL: returning multiple result sets - Guy Barrette

Guy Barrette

Microsoft Regional Director, Montreal, Canada

LINQ to SQL: returning multiple result sets

I was wondering if I could use a store procedure that returns multiple result sets with LINQ to SQL.  Looks like out of the box with the designer generated code, only the first result set will be returned.  A quick search lead me to this blog post by the Swiss MSDN team where they explain how to extend the DataContext code to retrieve more then one result set:

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

Bookmark and Share
Posted: Jun 10 2009, 06:58 AM by guybarrette | with 1 comment(s)
Filed under:

Comments

rajbk said:

I posted this as a "bug" a while back but it got rejected - the team suggested using SQLMetal.

connect.microsoft.com/.../ViewFeedback.aspx

Raj

# June 10, 2009 6:56 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)