Hello,
I have a type where I mapped a DateTime using Ticks custom type. Most of the type the sql has the correct formatting as integer but on some queries I get the following:
Code:
NHibernate.ADOException: could not execute query
Positional parameters: #0>06.12.2010 15:41:00 #1>06.12.2010 15:40:00
There the DateTimes are formatted using the ordinary ToString Method. Are there cases where Criteria Queries, or Linq Queries do not respect the custom type "Ticks"?
I am using NHibernate 2.1.2.4000 with NHibernate.Linq 1.1.0.1001 and Fluent.NHibernate 1.1.0.685
Thank you very much,
Tobias