Registers an OUT parameter which will be returing a DbDataReader. How this is accomplished varies greatly from DB to DB, hence its inclusion (along with {@link #getResultSet}) here.

Namespace: NHibernate.Dialect
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public virtual int RegisterResultSetOutParameter(
	DbCommand statement,
	int position
)
Visual Basic
Public Overridable Function RegisterResultSetOutParameter ( _
	statement As DbCommand, _
	position As Integer _
) As Integer
Visual C++
public:
virtual int RegisterResultSetOutParameter(
	DbCommand^ statement, 
	int position
)

Parameters

statement
Type: System.Data.Common..::..DbCommand
The callable statement.
position
Type: System..::..Int32
The bind position at which to register the OUT param.

Return Value

The number of (contiguous) bind positions used.

See Also