Bind an instance of a DateTime to an indexed parameter
using an NHibernate DateTimeType.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetDateTime ( _ position As Integer, _ val As DateTime _ ) As IQuery |
C# |
---|
IQuery SetDateTime( int position, DateTime val ) |
Visual C++ |
---|
IQuery^ SetDateTime( int position, DateTime val ) |
JavaScript |
---|
function setDateTime(position, val); |
Parameters
- position
- Type: System..::.Int32
The position of the parameter in the query string, numbered from 0
- val
- Type: System..::.DateTime
A non-null instance of a DateTime.