Bind an instance of a Int16 to an indexed parameter using an NHibernate Int16Type.

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

Syntax

C#
IQuery SetInt16(
	int position,
	short val
)
Visual Basic
Function SetInt16 ( _
	position As Integer, _
	val As Short _
) As IQuery
Visual C++
IQuery^ SetInt16(
	int position, 
	short val
)

Parameters

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

Return Value

[Missing <returns> documentation for "M:NHibernate.IQuery.SetInt16(System.Int32,System.Int16)"]

See Also