Bind an instance of a Int32 to an indexed parameter using an NHibernate Int32Type.

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function SetInt32 ( _
	position As Integer, _
	val As Integer _
) As IQuery
C#
IQuery SetInt32(
	int position,
	int val
)
Visual C++
IQuery^ SetInt32(
	int position, 
	int val
)
JavaScript
function setInt32(position, val);

Parameters

position
Type: System..::.Int32
The position of the parameter in the query string, numbered from 0
val
Type: System..::.Int32
A non-null instance of a Int32.

See Also