/// <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(Shifts shifts) { base.AddObject("Shifts", shifts); }
/// <summary> /// Create a new Shifts object. /// </summary> /// <param name="shiftID">Initial value of the ShiftID property.</param> /// <param name="name">Initial value of the Name property.</param> public static Shifts CreateShifts(global::System.Int32 shiftID, global::System.String name) { Shifts shifts = new Shifts(); shifts.ShiftID = shiftID; shifts.Name = name; return shifts; }