Is there any supported way of mapping datetimeoffset the new datatype in SQL 2008 to the System.DateTimeOffset using nhibernate?
2 Answers
NH 2.1 (or compiling from NHibernate trunk) supports this and more out-of-the-box. Check it out
2 Comments
dgundersen
Link is broken. That domain doesn't currently exist.
Dario Quintana
This was long time ago! NHibernate project is on Github github.com/nhibernate/nhibernate-core
(Assuming google didn't turn of anything) You will probably need to create a simple IUserType to handle this, also I am sure that the NH team would gladly accept it as a patch for everyone to benifit.
Ayende has a good post here on this. He goes though a couple of options to solve his problem so you might want to start from the bottom of the post (not the comments) and go up.