.NET Framework (current version)
Represents the results of mapped functions or queries with variable return sequences.
System.Data.Linq (in System.Data.Linq.dll)
type IMultipleResults =
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from IDisposable.)
Retrieves the next result as a sequence of a specified type.
In the following SQL code example, the result shape depends on the input (shape =1 or shape = 2). The order that the projections are returned is undefined.
CREATE PROCEDURE VariableResultShapes(@shape int)
if(@shape = 1)
select CustomerID, ContactTitle, CompanyName from customers
else if(@shape = 2)
select OrderID, ShipName from orders
No code example is currently available or this language may not be supported.
Return to top
Available since 3.5