/// <summary>
 /// Deprecated Method for adding a new object to the hs_hr_time_event EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTohs_hr_time_event(hs_hr_time_event hs_hr_time_event)
 {
     base.AddObject("hs_hr_time_event", hs_hr_time_event);
 }
 /// <summary>
 /// Create a new hs_hr_time_event object.
 /// </summary>
 /// <param name="time_event_id">Initial value of the time_event_id property.</param>
 /// <param name="project_id">Initial value of the project_id property.</param>
 /// <param name="activity_id">Initial value of the activity_id property.</param>
 /// <param name="employee_id">Initial value of the employee_id property.</param>
 /// <param name="timesheet_id">Initial value of the timesheet_id property.</param>
 public static hs_hr_time_event Createhs_hr_time_event(global::System.Int32 time_event_id, global::System.Int32 project_id, global::System.Int32 activity_id, global::System.Int32 employee_id, global::System.Int32 timesheet_id)
 {
     hs_hr_time_event hs_hr_time_event = new hs_hr_time_event();
     hs_hr_time_event.time_event_id = time_event_id;
     hs_hr_time_event.project_id = project_id;
     hs_hr_time_event.activity_id = activity_id;
     hs_hr_time_event.employee_id = employee_id;
     hs_hr_time_event.timesheet_id = timesheet_id;
     return hs_hr_time_event;
 }