/// <summary> /// Deprecated Method for adding a new object to the Shifts EntitySet. Consider using the .Add method of the associated ObjectSet<T> 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> public static Shift CreateShift(global::System.Int16 shiftID) { Shift shift = new Shift(); shift.ShiftID = shiftID; return shift; }