ObjectResult.GetNextResult<TElement> Method

Definition

Gets the next result set of a stored procedure.

public:
generic <typename TElement>
 System::Data::Objects::ObjectResult<TElement> ^ GetNextResult();
public System.Data.Objects.ObjectResult<TElement> GetNextResult<TElement> ();
member this.GetNextResult : unit -> System.Data.Objects.ObjectResult<'Element>
Public Function GetNextResult(Of TElement) () As ObjectResult(Of TElement)

Type Parameters

TElement

The type of the element.

Returns

ObjectResult<TElement>

An ObjectResult that enumerates the values of the next result set. Null, if there are no more, or if the ObjectResult is not the result of a stored procedure call.

Applies to