/// <summary> /// Create a new HR_CMP_WorkShifts object. /// </summary> /// <param name="workShiftID">Initial value of the WorkShiftID property.</param> /// <param name="weekdays">Initial value of the Weekdays property.</param> /// <param name="weekends">Initial value of the Weekends property.</param> /// <param name="shiftName">Initial value of the ShiftName property.</param> /// <param name="workingHoursFrom">Initial value of the WorkingHoursFrom property.</param> /// <param name="lunchBreakHoursFrom">Initial value of the LunchBreakHoursFrom property.</param> /// <param name="workingHoursTo">Initial value of the WorkingHoursTo property.</param> /// <param name="lunchBreakHoursTo">Initial value of the LunchBreakHoursTo property.</param> public static HR_CMP_WorkShifts CreateHR_CMP_WorkShifts(global::System.Int32 workShiftID, global::System.String weekdays, global::System.String weekends, global::System.String shiftName, global::System.String workingHoursFrom, global::System.String lunchBreakHoursFrom, global::System.String workingHoursTo, global::System.String lunchBreakHoursTo) { HR_CMP_WorkShifts hR_CMP_WorkShifts = new HR_CMP_WorkShifts(); hR_CMP_WorkShifts.WorkShiftID = workShiftID; hR_CMP_WorkShifts.Weekdays = weekdays; hR_CMP_WorkShifts.Weekends = weekends; hR_CMP_WorkShifts.ShiftName = shiftName; hR_CMP_WorkShifts.WorkingHoursFrom = workingHoursFrom; hR_CMP_WorkShifts.LunchBreakHoursFrom = lunchBreakHoursFrom; hR_CMP_WorkShifts.WorkingHoursTo = workingHoursTo; hR_CMP_WorkShifts.LunchBreakHoursTo = lunchBreakHoursTo; return hR_CMP_WorkShifts; }
/// <summary> /// Deprecated Method for adding a new object to the HR_CMP_WorkShifts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_CMP_WorkShifts(HR_CMP_WorkShifts hR_CMP_WorkShifts) { base.AddObject("HR_CMP_WorkShifts", hR_CMP_WorkShifts); }