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 <https://web.archive.org/web/20150214164507/http:/blog.miraclespain.com/archive/2008/Mar-18.html> Em segunda-feira, 2 de junho de 2025 às 15:56:28 UTC-3, Michael W Powell escreveu: > Hello, > > How do I define a custom type which supports NULL. Defined as a user > domain (ULONG) basically a simple NUMERIC(), so perhaps the > NHibernate.SqlTypes.SqlTypeFactory.UInt64 is an appropriate basis, but what > to do with the ulong? (csharp language level). > > Thank you! > > Best, > > Michael W. Powell > -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/fluent-nhibernate/7a601a3e-d97b-45f6-8443-b587325946b9n%40googlegroups.com.
