I am trying to get millisecond precision from a .NET DateTime field to a SQL Server 2008 datetime field. In searching the deep grok, it's clear that using DateTime as the mapping type will not provide millisecond precision. However, the documentation indicates that mapping the db fields as Timestamp should include milliseconds:
http://nhforge.org/doc/nh/en/index.html#mapping-types-basictypes NHibernate Type: Timestamp .NET Type: System.DateTime Database Type: DbType.DateTime - as specific as database supports. Remarks: type="Timestamp" must be specified. When I changed my mappings to use Timestamp, it didn't make any difference. How can I get milliseconds to be included in the dates I send? Thanks. -- 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.
