Hi folks,
i would like to return two record sets from a simple database table with one Linq2Sql query. I know how to do it if this was using Linq2Sql calling a stored procedure, but I don't want to use a stored procedure.
Is it possible to do it?
I've found an article here that has a suggested solution, but i hate the idea of having to write up a massive amount of code to partially extend the current context?! like... OUCH!!!
Just doesn't seem... right ?
Is the suggestion in the article the only way to do it? Are there other ways (without using stored procedures and still using Linq2Sql) ?
Wish Matt Warren was here to answer this :)
EDIT
I'm not asking about how to lazy-load / eager load (and using DataLoadOptions). That's a different concept.