/// <summary> /// Create a new HR_Emp_AnnualTaxDeductionDetails object. /// </summary> /// <param name="annualTaxDeductionID">Initial value of the AnnualTaxDeductionID property.</param> /// <param name="employeeNumber">Initial value of the EmployeeNumber 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_AnnualTaxDeductionDetails CreateHR_Emp_AnnualTaxDeductionDetails(global::System.Int32 annualTaxDeductionID, global::System.Int64 employeeNumber, 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_AnnualTaxDeductionDetails hR_Emp_AnnualTaxDeductionDetails = new HR_Emp_AnnualTaxDeductionDetails(); hR_Emp_AnnualTaxDeductionDetails.AnnualTaxDeductionID = annualTaxDeductionID; hR_Emp_AnnualTaxDeductionDetails.EmployeeNumber = employeeNumber; hR_Emp_AnnualTaxDeductionDetails.ProffessionalTax = proffessionalTax; hR_Emp_AnnualTaxDeductionDetails.ProvidentFund = providentFund; hR_Emp_AnnualTaxDeductionDetails.VoluntaryPF = voluntaryPF; hR_Emp_AnnualTaxDeductionDetails.IncomeTax = incomeTax; hR_Emp_AnnualTaxDeductionDetails.LifeInsurance = lifeInsurance; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction1 = otherDeduction1; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction2 = otherDeduction2; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction3 = otherDeduction3; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction4 = otherDeduction4; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction5 = otherDeduction5; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction6 = otherDeduction6; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction7 = otherDeduction7; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction8 = otherDeduction8; hR_Emp_AnnualTaxDeductionDetails.OtherDeduction9 = otherDeduction9; return hR_Emp_AnnualTaxDeductionDetails; }
/// <summary> /// Deprecated Method for adding a new object to the HR_Emp_AnnualTaxDeductionDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_Emp_AnnualTaxDeductionDetails(HR_Emp_AnnualTaxDeductionDetails hR_Emp_AnnualTaxDeductionDetails) { base.AddObject("HR_Emp_AnnualTaxDeductionDetails", hR_Emp_AnnualTaxDeductionDetails); }