Using Database first design and having tinyint (or smallint) column:
[MyEnumColumn] [tinyint] NOT NULL
I mapped this column to Enum Type in EDM
You need to specify both in the Model and in the Enumerator that you are using tinyInt and Byte .
in Enumerator definition public enum MyEnumType : byte { One, Two, Three, All }
public enum MyEnumType : byte { One, Two, Three, All }
then in the Model class file
[Column(TypeName = "tinyint")] public MyEnumType? MyEnum { get; set; }