Maps a DateTime Property to a DateTime column that
stores date & time down to the accuracy of a second.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
[SerializableAttribute] public class DateTimeType : PrimitiveType, IIdentifierType, ILiteralType, IVersionType, IType, ICacheAssembler |
Visual Basic |
---|
<SerializableAttribute> _ Public Class DateTimeType _ Inherits PrimitiveType _ Implements IIdentifierType, ILiteralType, IVersionType, IType, _ ICacheAssembler |
Visual C++ |
---|
[SerializableAttribute] public ref class DateTimeType : public PrimitiveType, IIdentifierType, ILiteralType, IVersionType, IType, ICacheAssembler |
Remarks
This only stores down to a second, so if you are looking for the most accurate
date and time storage your provider can give you use the TimestampType.
or the TicksType
Inheritance Hierarchy
System..::..Object
NHibernate.Type..::..AbstractType
NHibernate.Type..::..NullableType
NHibernate.Type..::..ImmutableType
NHibernate.Type..::..PrimitiveType
NHibernate.Type..::..DateTimeType
NHibernate.Type..::..AbstractDateTimeSpecificKindType
NHibernate.Type..::..DateTime2Type
NHibernate.Type..::..AbstractType
NHibernate.Type..::..NullableType
NHibernate.Type..::..ImmutableType
NHibernate.Type..::..PrimitiveType
NHibernate.Type..::..DateTimeType
NHibernate.Type..::..AbstractDateTimeSpecificKindType
NHibernate.Type..::..DateTime2Type