/// <summary>
 /// Deprecated Method for adding a new object to the HR_EMP_Leave_Hist EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_EMP_Leave_Hist(HR_EMP_Leave_Hist hR_EMP_Leave_Hist)
 {
     base.AddObject("HR_EMP_Leave_Hist", hR_EMP_Leave_Hist);
 }
 /// <summary>
 /// Create a new HR_EMP_Leave_Hist object.
 /// </summary>
 /// <param name="leaveHistId">Initial value of the LeaveHistId property.</param>
 /// <param name="employeeNumber">Initial value of the EmployeeNumber property.</param>
 public static HR_EMP_Leave_Hist CreateHR_EMP_Leave_Hist(global::System.Int32 leaveHistId, global::System.Int64 employeeNumber)
 {
     HR_EMP_Leave_Hist hR_EMP_Leave_Hist = new HR_EMP_Leave_Hist();
     hR_EMP_Leave_Hist.LeaveHistId = leaveHistId;
     hR_EMP_Leave_Hist.EmployeeNumber = employeeNumber;
     return hR_EMP_Leave_Hist;
 }