상속: System.Data.Objects.DataClasses.EntityObject
 /// <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;
 }
 /// <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);
 }