/// <summary>
 /// Deprecated Method for adding a new object to the ActivitySchedules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivitySchedules(ActivitySchedule activitySchedule)
 {
     base.AddObject("ActivitySchedules", activitySchedule);
 }
 /// <summary>
 /// Create a new ActivitySchedule object.
 /// </summary>
 /// <param name="activity">Initial value of the activity property.</param>
 /// <param name="schedule_date">Initial value of the schedule_date property.</param>
 /// <param name="schedule_type">Initial value of the schedule_type property.</param>
 /// <param name="created_by">Initial value of the created_by property.</param>
 /// <param name="create_date">Initial value of the create_date property.</param>
 public static ActivitySchedule CreateActivitySchedule(global::System.String activity, global::System.DateTime schedule_date, global::System.String schedule_type, global::System.String created_by, global::System.DateTime create_date)
 {
     ActivitySchedule activitySchedule = new ActivitySchedule();
     activitySchedule.activity = activity;
     activitySchedule.schedule_date = schedule_date;
     activitySchedule.schedule_type = schedule_type;
     activitySchedule.created_by = created_by;
     activitySchedule.create_date = create_date;
     return activitySchedule;
 }