I'm designing a data base using the Table Designer in VS 2010 pro, then generating code with SqlMetal.
I want to use a enum
as a type in one of the columns.
How is it possible?
You can use Convert to Enum as described in Enum Support - EF Designer:
Update
You need to Entity Framework 5.0, .NET 4.5 and Visual Studio 2012
It is not possible under you condition with Visual Studio 2010
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With