/// <summary>
 /// Deprecated Method for adding a new object to the hs_hr_leave EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTohs_hr_leave(hs_hr_leave hs_hr_leave)
 {
     base.AddObject("hs_hr_leave", hs_hr_leave);
 }
 /// <summary>
 /// Create a new hs_hr_leave object.
 /// </summary>
 /// <param name="leave_id">Initial value of the leave_id property.</param>
 /// <param name="leave_request_id">Initial value of the leave_request_id property.</param>
 /// <param name="leave_type_id">Initial value of the leave_type_id property.</param>
 /// <param name="employee_id">Initial value of the employee_id property.</param>
 public static hs_hr_leave Createhs_hr_leave(global::System.Int32 leave_id, global::System.Int32 leave_request_id, global::System.String leave_type_id, global::System.Int32 employee_id)
 {
     hs_hr_leave hs_hr_leave = new hs_hr_leave();
     hs_hr_leave.leave_id = leave_id;
     hs_hr_leave.leave_request_id = leave_request_id;
     hs_hr_leave.leave_type_id = leave_type_id;
     hs_hr_leave.employee_id = employee_id;
     return hs_hr_leave;
 }