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

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

Syntax

C#
IMultiQuery SetBoolean(
	string name,
	bool val
)
Visual Basic
Function SetBoolean ( _
	name As String, _
	val As Boolean _
) As IMultiQuery
Visual C++
IMultiQuery^ SetBoolean(
	String^ name, 
	bool val
)

Parameters

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

Return Value

The instance for method chain.

See Also