Bind an instance of a Boolean to an indexed parameter
using an NHibernate BooleanType.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetBoolean ( _ position As Integer, _ val As Boolean _ ) As IQuery |
C# |
---|
IQuery SetBoolean( int position, bool val ) |
Visual C++ |
---|
IQuery^ SetBoolean( int position, bool val ) |
JavaScript |
---|
function setBoolean(position, val); |
Parameters
- position
- Type: System..::.Int32
The position of the parameter in the query string, numbered from 0
- val
- Type: System..::.Boolean
A non-null instance of a Boolean.