Using enums in the Mindscape NHibernate Designer

added by traskjd
8/11/2010 11:20:01 PM

1 Kicks, 78 Views

NHibernate has the facility to map integer columns in the database to enum values in your objects. However, the Mindscape NHibernate Designer doesn’t automatically know about your enum types, so by default you won’t find your enum types in the Data Type drop-down. So if you want to map a column an enum, how do you do it? This post explains how.


0 comments