In an effort to clean up my code (long overdue), I've decided to change all my char types to bool's. At the moment I've got char's in my database, and was simply lazy to map directly to a char in my objects.
In an effort to fix my problems, I did some googling and unbelivebly came upon the NHibernate documentation that I obviously didn't read properly the first time. The section was 5.2.2 - Basic Value Types and the type was 'TrueFalse'.
Who would have thought that documentation could have been so useful - big thanks to those at NHibernate Forge for doing a great job on documentation.
No comments:
Post a Comment