You have to use type="Timestamp".
If you don't like the round done by default you have to override
YourDialect.TimestampResolutionInTicks


On Wed, Oct 13, 2010 at 12:58 PM, Chris J <[email protected]> wrote:

>
> Thank you Nexus. I have seen this blog posting, but it is not very
> helpful. The grid in the posting indicates that a .NET DateTime field
> maps to a SQL Server datetime column. While this is true, the
> milliseconds of a DateTime value are not maintained when written to
> the database. See this defect: http://216.121.112.228/browse/NH-1973.
>
>
> On Oct 13, 4:13 am, Nexus <[email protected]> wrote:
> > Chris
> >
> > Please take a look at following blog article, should answer your
> > question :)
> >
> > http://nhforge.org/blogs/nhibernate/archive/2009/03/11/nhibernate-and...
> >
> > Kind regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


-- 
Fabio Maulo

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to