Enum in ADO.NET Entity Framework v1
There is no direct support for enum type in ado.net entity
framework v1. But it is rather easy to solve this
problem.
All u need to do is to create int
property with private getter and setter and then add public
property to your partial class, which type is enum:
public
YourEnumType
YourEnumTypeProperty
{
get
{ return (YourEnumType) InnernumTypeProperty; }
set
{ InnerEnumTypeProperty = (int) value; }
}