LINQ to SQL: returning multiple result sets

February 4, 2008

[From Swiss DPE Team Blog]

As you probably know LINQ to SQL supports stored procedure (SP). You can drag&drop a SP in the LINQ to SQL Designer and the magic happens: a new method inside the DataContext class is generated and a new return type is defined by the designer to represent this result (the name of the type is composed by the SP name followed by Result).

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