Bind an instance of a Boolean to an indexed parameter using an NHibernate BooleanType.

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

Syntax

C#
IQuery SetBoolean(
	int position,
	bool val
)
Visual Basic
Function SetBoolean ( _
	position As Integer, _
	val As Boolean _
) As IQuery
Visual C++
IQuery^ SetBoolean(
	int position, 
	bool 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.

Return Value

[Missing <returns> documentation for "M:NHibernate.IQuery.SetBoolean(System.Int32,System.Boolean)"]

See Also