/// <summary> /// Deprecated Method for adding a new object to the HR_Emp_MonthlySalaryDeductionDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_Emp_MonthlySalaryDeductionDetails(HR_Emp_MonthlySalaryDeductionDetails hR_Emp_MonthlySalaryDeductionDetails) { base.AddObject("HR_Emp_MonthlySalaryDeductionDetails", hR_Emp_MonthlySalaryDeductionDetails); }
/// <summary> /// Create a new HR_Emp_MonthlySalaryDeductionDetails object. /// </summary> /// <param name="monthlyDeductionID">Initial value of the MonthlyDeductionID property.</param> /// <param name="proffessionalTax">Initial value of the ProffessionalTax property.</param> /// <param name="providentFund">Initial value of the ProvidentFund property.</param> /// <param name="voluntaryPF">Initial value of the VoluntaryPF property.</param> /// <param name="incomeTax">Initial value of the IncomeTax property.</param> /// <param name="lifeInsurance">Initial value of the LifeInsurance property.</param> /// <param name="otherDeduction1">Initial value of the OtherDeduction1 property.</param> /// <param name="otherDeduction2">Initial value of the OtherDeduction2 property.</param> /// <param name="otherDeduction3">Initial value of the OtherDeduction3 property.</param> /// <param name="otherDeduction4">Initial value of the OtherDeduction4 property.</param> /// <param name="otherDeduction5">Initial value of the OtherDeduction5 property.</param> /// <param name="otherDeduction6">Initial value of the OtherDeduction6 property.</param> /// <param name="otherDeduction7">Initial value of the OtherDeduction7 property.</param> /// <param name="otherDeduction8">Initial value of the OtherDeduction8 property.</param> /// <param name="otherDeduction9">Initial value of the OtherDeduction9 property.</param> public static HR_Emp_MonthlySalaryDeductionDetails CreateHR_Emp_MonthlySalaryDeductionDetails(global::System.Int32 monthlyDeductionID, global::System.Decimal proffessionalTax, global::System.Decimal providentFund, global::System.Decimal voluntaryPF, global::System.Decimal incomeTax, global::System.Decimal lifeInsurance, global::System.Decimal otherDeduction1, global::System.Decimal otherDeduction2, global::System.Decimal otherDeduction3, global::System.Decimal otherDeduction4, global::System.Decimal otherDeduction5, global::System.Decimal otherDeduction6, global::System.Decimal otherDeduction7, global::System.Decimal otherDeduction8, global::System.Decimal otherDeduction9) { HR_Emp_MonthlySalaryDeductionDetails hR_Emp_MonthlySalaryDeductionDetails = new HR_Emp_MonthlySalaryDeductionDetails(); hR_Emp_MonthlySalaryDeductionDetails.MonthlyDeductionID = monthlyDeductionID; hR_Emp_MonthlySalaryDeductionDetails.ProffessionalTax = proffessionalTax; hR_Emp_MonthlySalaryDeductionDetails.ProvidentFund = providentFund; hR_Emp_MonthlySalaryDeductionDetails.VoluntaryPF = voluntaryPF; hR_Emp_MonthlySalaryDeductionDetails.IncomeTax = incomeTax; hR_Emp_MonthlySalaryDeductionDetails.LifeInsurance = lifeInsurance; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction1 = otherDeduction1; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction2 = otherDeduction2; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction3 = otherDeduction3; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction4 = otherDeduction4; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction5 = otherDeduction5; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction6 = otherDeduction6; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction7 = otherDeduction7; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction8 = otherDeduction8; hR_Emp_MonthlySalaryDeductionDetails.OtherDeduction9 = otherDeduction9; return hR_Emp_MonthlySalaryDeductionDetails; }