2009/2/10 Markus Zywitza <[email protected]> > > Enums are fine for gender, but think of categories or other > classifications, where the knowledge level must be persisted also.
Well... if are persistent use a appropiate DAO repository to upload it. Configure the cache (aka 2-level-cache). Use some Validation framework for validation matters (as for example NHibernate.Validator). Info about NHV are available here http://nhforge.org/wikis/validator10/nhibernate-validator-1-0-0-documentation.aspx If you want you can use another validation FW and integrate it with NH. http://code.google.com/p/unhaddins/source/browse/#svn/tags/uAddInsToNH2.0/uNhAddIns.Validation/uNhAddIns.Validation That is an old example, i'm not sure that it still working, about how integrate NH with Enterprise Lib VAB -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
