Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the terminology?
Message
From
16/06/2010 12:19:17
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
16/06/2010 12:15:15
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01469189
Message ID:
01469250
Views:
43
>What would be ideal would be if I could get the enum to automatically get built from the table, which is what Mike seems to do with nHibernate.

Not exactly... my Enumeration is the source for the table. My table is not the source for my Enumeration - just a dumb place to store the type. If you need to store friendly display names them you may want to have your DB structure mirror your enumeration and do the mapping in your code.
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform