How can I make it so that my context objects uses the Enum feature in Entity Framework 5.0 if I am using Database First.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Go to the model browser and create a new enum type, then go to whatever column you wish to use it on and change its type to the enum that you just created.