As a developer I believe in empowering my users. One simple way of doing this is allowing certain users ability to alter Look-up Tables. I have always developed on a database first model, but I am starting a new project that I'm going to try code first.
I know you can enable enums on your entities in EF 5+. However, from what I have read all of the enums are assigned in the code. My question is what if I have a Enum GenericTemperature Cold, 1 Hot, 2 Room Temp, 3
Then 3 months go by and the users want to add
Warm, 4 Cool, 5
In database first method I use a solution similar to https://stackoverflow.com/a/2636204/2120857 to handle my enum updates and it works wonderful. However, that seems a little silly for what I would consider a code first project.
On top of that, I typically track all edits on database and have fields CreatedBy, CreatedDate, ModifiedBy, ModifiedDate and (datetime)Inactive to track changes and possible inactivity of types.
Is it possible to give the users the ability to change enums?
Is there something I'm missing or is this capability not in EF Codefirst and I need to use my t4 solution?