Bind an instance of a Decimal to an indexed parameter using an NHibernate DecimalType.

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

Syntax

C#
IQuery SetDecimal(
	int position,
	decimal val
)
Visual Basic
Function SetDecimal ( _
	position As Integer, _
	val As Decimal _
) As IQuery
Visual C++
IQuery^ SetDecimal(
	int position, 
	Decimal val
)

Parameters

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

Return Value

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

See Also