'Declaration Public Overloads Function ExecuteNext( _ ByRef reader As OracleDataReader _ ) As Boolean
public bool ExecuteNext( out OracleDataReader reader )
Parameters
- reader
- An OracleDataReader to store result set.
'Declaration Public Overloads Function ExecuteNext( _ ByRef reader As OracleDataReader _ ) As Boolean
public bool ExecuteNext( out OracleDataReader reader )
Use the ExecuteNext(OracleDataReader) method to execute the statements from the script one by one. Text of the script should be specified by ScriptText property.
After the method has executed, the Devart.Common.DbScript.Progress event fires, where you can obtain statement text and process query results. If the statement has produced an error, event Devart.Common.DbScript.Error fires.
To restart execution from the beginning of the script call Devart.Common.DbScript.Reset method. When ScriptText property is modified, OracleScript automatically positions on the first statement.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2