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

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

Syntax

C#
IMultiQuery SetDecimal(
	string name,
	decimal val
)
Visual Basic
Function SetDecimal ( _
	name As String, _
	val As Decimal _
) As IMultiQuery
Visual C++
IMultiQuery^ SetDecimal(
	String^ name, 
	Decimal val
)

Parameters

name
Type: System..::..String
The name of the parameter
val
Type: System..::..Decimal
A non-null instance of a Decimal.

Return Value

The instance for method chain.

See Also