LINQ to SQL: returning multiple result sets

[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

Get the Free Newsletter!

Subscribe to Cloud Insider for top news, trends & analysis

Latest Articles