Bind an instance of a Char to an indexed parameter using an NHibernate CharType.

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

Syntax

Visual Basic (Declaration)
Function SetCharacter ( _
	position As Integer, _
	val As Char _
) As IQuery
C#
IQuery SetCharacter(
	int position,
	char val
)
Visual C++
IQuery^ SetCharacter(
	int position, 
	wchar_t val
)
JavaScript
function setCharacter(position, val);

Parameters

position
Type: System..::.Int32
The position of the parameter in the query string, numbered from 0
val
Type: System..::.Char
A non-null instance of a Char.

See Also