DbDataReader.NextResult Method

Definition

When overridden in a derived class, advances the reader to the next result when reading the results of a batch of statements.

public:
 abstract bool NextResult();
public abstract bool NextResult ();
abstract member NextResult : unit -> bool
Public MustOverride Function NextResult () As Boolean

Returns

true if there are more result sets; otherwise, false.

Implements

Remarks

This method allows you to process multiple result sets returned when a batch is submitted to the data provider.

Applies to

See also