/// <summary> /// Deprecated Method for adding a new object to the hs_hr_timesheet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTohs_hr_timesheet(hs_hr_timesheet hs_hr_timesheet) { base.AddObject("hs_hr_timesheet", hs_hr_timesheet); }
/// <summary> /// Create a new hs_hr_timesheet object. /// </summary> /// <param name="timesheet_id">Initial value of the timesheet_id property.</param> /// <param name="employee_id">Initial value of the employee_id property.</param> /// <param name="timesheet_period_id">Initial value of the timesheet_period_id property.</param> public static hs_hr_timesheet Createhs_hr_timesheet(global::System.Int32 timesheet_id, global::System.Int32 employee_id, global::System.Int32 timesheet_period_id) { hs_hr_timesheet hs_hr_timesheet = new hs_hr_timesheet(); hs_hr_timesheet.timesheet_id = timesheet_id; hs_hr_timesheet.employee_id = employee_id; hs_hr_timesheet.timesheet_period_id = timesheet_period_id; return hs_hr_timesheet; }