Error!
Success!

Lookup table for constants with NHibernate

0
kicks

Lookup table for constants with NHibernate  (Unpublished)

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.


Kicked By:
Drop Kicked By: