Similar to this link however the project I'm working on doesn't use the ORM component of LINQ to SQL (we use it more for quickly generating the ADO.Net interface to the db).
Currently, the pattern we follow is:
var result = myDataContext.GetAllCustomersAndOrders();
And the stored procedure looks like this:
Are there extra steps I need to take? Do I need to extend the generated dbml or the data context partial class file?
Hopefully this makes sense... It's a bit difficult to explain and all the examples I've found use the ORM piece of the dbml (dragging and dropping tables onto the dbml designer surface).
{ }
) on the editor toolbar to nicely format and syntax highlight it. Works like a charm (once you know how to use it) – marc_s