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

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

Syntax

Visual Basic (Declaration)
Function SetDecimal ( _
	name As String, _
	val As Decimal _
) As IQuery
C#
IQuery SetDecimal(
	string name,
	decimal val
)
Visual C++
IQuery^ SetDecimal(
	String^ name, 
	Decimal val
)
JavaScript
function setDecimal(name, val);

Parameters

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

See Also