Hi,

i have read some posts about enum in NHibernate (Maybe not all).

i.e. User Status: Active,Inactive,Locked...

Until now i have persisted the values in the db so the user has the
chance to crud the thing.

My though:

If the user cruds then the business meaning of the enum is lost.
Such enums must be hardcoded in order to have a business meaning and
can be used in code (A newly added user status is meaningless until i
use it in code, which means write code, build deploy...).

what do you thing?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to