문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top