Bind an instance of a DateTime to an indexed parameter
using an NHibernate TimestampType.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IDetachedQuery SetTimestamp( int position, DateTime val ) |
Visual Basic |
---|
Function SetTimestamp ( _ position As Integer, _ val As DateTime _ ) As IDetachedQuery |
Visual C++ |
---|
IDetachedQuery^ SetTimestamp( int position, DateTime 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.
Return Value
[Missing <returns> documentation for "M:NHibernate.IDetachedQuery.SetTimestamp(System.Int32,System.DateTime)"]