/// <summary>
 /// Deprecated Method for adding a new object to the Shifts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShifts(Shift shift)
 {
     base.AddObject("Shifts", shift);
 }
 /// <summary>
 /// Create a new Shift object.
 /// </summary>
 /// <param name="shiftID">Initial value of the ShiftID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="endTime">Initial value of the EndTime property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Shift CreateShift(global::System.Byte shiftID, global::System.String name, global::System.DateTime startTime, global::System.DateTime endTime, global::System.DateTime modifiedDate)
 {
     Shift shift = new Shift();
     shift.ShiftID = shiftID;
     shift.Name = name;
     shift.StartTime = startTime;
     shift.EndTime = endTime;
     shift.ModifiedDate = modifiedDate;
     return shift;
 }
Ejemplo n.º 3
0
 public static Shift Updating(this Shift x, IContext context) => x with