Bind an instance of a Double to an indexed parameter using an NHibernate DoubleType.

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

Syntax

Visual Basic (Declaration)
Function SetDouble ( _
	position As Integer, _
	val As Double _
) As IQuery
C#
IQuery SetDouble(
	int position,
	double val
)
Visual C++
IQuery^ SetDouble(
	int position, 
	double val
)
JavaScript
function setDouble(position, val);

Parameters

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

See Also