/// <summary>
 /// Create a new Schedule object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="userId">Initial value of the userId property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="type">Initial value of the type property.</param>
 /// <param name="state">Initial value of the state property.</param>
 public static Schedule CreateSchedule(global::System.Int32 id, global::System.Int32 userId, global::System.String name, global::System.String type, global::System.String state)
 {
     Schedule schedule = new Schedule();
     schedule.id = id;
     schedule.userId = userId;
     schedule.name = name;
     schedule.type = type;
     schedule.state = state;
     return schedule;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Schedules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSchedules(Schedule schedule)
 {
     base.AddObject("Schedules", schedule);
 }