Bind an instance of a DateTime to a named parameter using an NHibernate DateTimeType.

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

Syntax

C#
IQuery SetDateTime(
	string name,
	DateTime val
)
Visual Basic
Function SetDateTime ( _
	name As String, _
	val As DateTime _
) As IQuery
Visual C++
IQuery^ SetDateTime(
	String^ name, 
	DateTime val
)

Parameters

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

Return Value

[Missing <returns> documentation for "M:NHibernate.IQuery.SetDateTime(System.String,System.DateTime)"]

See Also