This might sound repeated but I have gone through all the available posts but could not figure out the best method in EF 6 version.
I have two tables
PersonPhone (PersonID, PhoneTypeID)
PhoneType(PhoneTypeID, Description)
PhoneTypes as just look ups (Cell, Office, Pager etc). How do I generate equivalent Enums in code from PhoneType table.
Can anyone please provide steps to generate ENums from Look up tables? Thanks in advance