Bind an instance of a Decimal to a named parameter
using an NHibernate DecimalType.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetDecimal ( _ name As String, _ val As Decimal _ ) As IMultiQuery |
C# |
---|
IMultiQuery SetDecimal( string name, decimal val ) |
Visual C++ |
---|
IMultiQuery^ 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.