Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WorkSchedules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWorkSchedules(WorkSchedule workSchedule)
 {
     base.AddObject("WorkSchedules", workSchedule);
 }