Export (0) Print
Expand All

How to: Use Stored Procedures Mapped for Sequential Result Shapes (LINQ to SQL)

This kind of stored procedure can generate more than one result shape, but you know in what order the results are returned. Contrast this scenario with the scenario where you do not know the sequence of the returns. For more information, see How to: Use Stored Procedures Mapped for Multiple Result Shapes (LINQ to SQL).

Here is the T-SQL of a stored procedure that returns multiple result shapes sequentially:

CREATE PROCEDURE MultipleResultTypesSequentially
AS
select * from products
select * from customers
No code example is currently available or this language may not be supported.

You would use code similar to the following to execute this stored procedure.

No code example is currently available or this language may not be supported.
Show:
© 2014 Microsoft