Lookup table for constants with NHibernate

added by notherdev
12/12/2011 12:25:35 AM

1 Kicks, 145 Views

Databases are pretty commonly used to keep lists of constant values, so called dictionaries or lookup tables. How should we handle dictionaries in NHibernate? NHibernate is designed to manipulate entities and constant values are not entities. These are just some plain objects, that accidentally came from the database.


0 comments