/// <summary>
 /// Create a new HR_CMP_LKP_Leaves object.
 /// </summary>
 /// <param name="leaveID">Initial value of the LeaveID property.</param>
 /// <param name="numberOfLeaves">Initial value of the NumberOfLeaves property.</param>
 /// <param name="isPaid">Initial value of the IsPaid property.</param>
 public static HR_CMP_LKP_Leaves CreateHR_CMP_LKP_Leaves(global::System.Int32 leaveID, global::System.Int32 numberOfLeaves, global::System.Boolean isPaid)
 {
     HR_CMP_LKP_Leaves hR_CMP_LKP_Leaves = new HR_CMP_LKP_Leaves();
     hR_CMP_LKP_Leaves.LeaveID = leaveID;
     hR_CMP_LKP_Leaves.NumberOfLeaves = numberOfLeaves;
     hR_CMP_LKP_Leaves.IsPaid = isPaid;
     return hR_CMP_LKP_Leaves;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_CMP_LKP_Leaves EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_CMP_LKP_Leaves(HR_CMP_LKP_Leaves hR_CMP_LKP_Leaves)
 {
     base.AddObject("HR_CMP_LKP_Leaves", hR_CMP_LKP_Leaves);
 }