Mapping Oracle bool fields with nHibernate

I have an Oracle database and the logical fields are CHAR (1) with Y / N saved. How can I map this to a bool type using nHibernate?

+4
source share
1 answer

Set type = "YesNo" in the nhibernate property definition for the field.

For more information, see table 5.3 in this document , which maps .NET types, DB types.

+5
source

All Articles