Bind an instance of a Guid to a named parameter using an NHibernate GuidType.

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

Syntax

Visual Basic (Declaration)
Function SetGuid ( _
	position As Integer, _
	val As Guid _
) As IQuery
C#
IQuery SetGuid(
	int position,
	Guid val
)
Visual C++
IQuery^ SetGuid(
	int position, 
	Guid val
)
JavaScript
function setGuid(position, val);

Parameters

position
Type: System..::.Int32
The position of the parameter in the query string, numbered from 0
val
Type: System..::.Guid
An instance of a Guid.

See Also