Creating an instance of an C# Enum with no 0 value
See the question and my original answer on StackOverflowIt's a problem with your ObjectFactory class, because
Activator.CreateInstance(typeof(Edu3.DTOModel.Schedule.ScheduleStateEnum))
works fine and creates int 0.