Bind an instance of a Single to an indexed parameter using an NHibernate SingleType.

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

Syntax

Visual Basic (Declaration)
Function SetSingle ( _
	position As Integer, _
	val As Single _
) As IQuery
C#
IQuery SetSingle(
	int position,
	float val
)
Visual C++
IQuery^ SetSingle(
	int position, 
	float val
)
JavaScript
function setSingle(position, val);

Parameters

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

See Also