/// <summary> /// Deprecated Method for adding a new object to the HR_EMP_LeaveQoutaDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_EMP_LeaveQoutaDetails(HR_EMP_LeaveQoutaDetails hR_EMP_LeaveQoutaDetails) { base.AddObject("HR_EMP_LeaveQoutaDetails", hR_EMP_LeaveQoutaDetails); }
/// <summary> /// Create a new HR_EMP_LeaveQoutaDetails object. /// </summary> /// <param name="leaveQoutaDetailID">Initial value of the LeaveQoutaDetailID property.</param> /// <param name="leaveTypeID">Initial value of the LeaveTypeID property.</param> /// <param name="avaiableLeaves">Initial value of the AvaiableLeaves property.</param> /// <param name="leaveTaken">Initial value of the LeaveTaken property.</param> /// <param name="totalLeaves">Initial value of the TotalLeaves property.</param> /// <param name="year">Initial value of the Year property.</param> /// <param name="month">Initial value of the Month property.</param> public static HR_EMP_LeaveQoutaDetails CreateHR_EMP_LeaveQoutaDetails(global::System.Int32 leaveQoutaDetailID, global::System.Int32 leaveTypeID, global::System.Int32 avaiableLeaves, global::System.Int32 leaveTaken, global::System.Int32 totalLeaves, global::System.String year, global::System.Int32 month) { HR_EMP_LeaveQoutaDetails hR_EMP_LeaveQoutaDetails = new HR_EMP_LeaveQoutaDetails(); hR_EMP_LeaveQoutaDetails.LeaveQoutaDetailID = leaveQoutaDetailID; hR_EMP_LeaveQoutaDetails.LeaveTypeID = leaveTypeID; hR_EMP_LeaveQoutaDetails.AvaiableLeaves = avaiableLeaves; hR_EMP_LeaveQoutaDetails.LeaveTaken = leaveTaken; hR_EMP_LeaveQoutaDetails.TotalLeaves = totalLeaves; hR_EMP_LeaveQoutaDetails.Year = year; hR_EMP_LeaveQoutaDetails.Month = month; return hR_EMP_LeaveQoutaDetails; }