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?
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