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

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

Syntax

C#
IDetachedQuery SetSingle(
	int position,
	float val
)
Visual Basic
Function SetSingle ( _
	position As Integer, _
	val As Single _
) As IDetachedQuery
Visual C++
IDetachedQuery^ SetSingle(
	int position, 
	float 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.

Return Value

[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetSingle(System.Int32,System.Single)"]

See Also