I
haven’t used Nhibernate for a while, but I had a similar problem with a custom
field, and to do solve it I created a custom user type (class IUserType), these
links explain how to do it:
https://stackoverflow.com/questions/242022/nhibernate-mapping-to-custom-types
https://web.archive.org/web/20150214164507/http://blog.miraclespain.com/archive/2008/Mar-18.html