I use below code in OnModelCreating method of dataContext:
modelBuilder.Entity().HasData( new EnumValue {