/// <summary> /// Create a new WorkSchedule object. /// </summary> /// <param name="workScheduleID">Initial value of the WorkScheduleID property.</param> public static WorkSchedule CreateWorkSchedule(global::System.Int32 workScheduleID) { WorkSchedule workSchedule = new WorkSchedule(); workSchedule.WorkScheduleID = workScheduleID; return workSchedule; }
/// <summary> /// Deprecated Method for adding a new object to the WorkSchedules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorkSchedules(WorkSchedule workSchedule) { base.AddObject("WorkSchedules", workSchedule); }