nHibernate mapping to custom types
You need to implement your own IUserType. See this blog post for details. I’ll also paste the relevant section below in case the blog disappears. In NHibernate, a custom mapping type is a class that derives from either the IUserType or ICompositeUserType interfaces. These interfaces contain several methods that must be implemented, but for our … Read more