By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,667 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,667 IT Pros & Developers. It's quick & easy.

Re: multiple recordsets returned by Store Procedure LINQ to SQL

P: n/a
I have to make a call to fetch countries and then state.
Yes; as already explained, this just fetches the *next* result grid.
http://msdn.microsoft.com/en-us/library/bb534218.aspx
I would need some kinda dataset kind of implementation where i can do
dataset.Tables["Person"]. Does LINQ support this any idea?
Not on an IMultipleResults, no. LINQ is an object pipeline, not a store
[forgetting the change/identity managers for the moment]. However, it might
be possible to use LINQ-to-objects functionality to wrap this into more
concrete lists if you need - kinda like you have already done with the
ToList().

Marc
Jul 8 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.