Bind an instance of a Decimal to an indexed parameter
using an NHibernate DecimalType.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetDecimal ( _ position As Integer, _ val As Decimal _ ) As IQuery |
C# |
---|
IQuery SetDecimal( int position, decimal val ) |
Visual C++ |
---|
IQuery^ SetDecimal( int position, Decimal val ) |
JavaScript |
---|
function setDecimal(position, 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.