/// <summary> /// Create a new ReportIncome object. /// </summary> /// <param name="spareName">Initial value of the SpareName property.</param> /// <param name="incomeDate">Initial value of the IncomeDate property.</param> /// <param name="unitID">Initial value of the UnitID property.</param> /// <param name="unitName">Initial value of the UnitName property.</param> /// <param name="vatName">Initial value of the VatName property.</param> /// <param name="vatRate">Initial value of the VatRate property.</param> /// <param name="id">Initial value of the id property.</param> /// <param name="qIn">Initial value of the QIn property.</param> /// <param name="markup">Initial value of the Markup property.</param> /// <param name="code">Initial value of the code property.</param> /// <param name="codeShatem">Initial value of the codeShatem property.</param> public static ReportIncome CreateReportIncome(global::System.String spareName, global::System.DateTime incomeDate, global::System.Int32 unitID, global::System.String unitName, global::System.String vatName, global::System.Decimal vatRate, global::System.Int32 id, global::System.Decimal qIn, global::System.Decimal markup, global::System.String code, global::System.String codeShatem) { ReportIncome reportIncome = new ReportIncome(); reportIncome.SpareName = spareName; reportIncome.IncomeDate = incomeDate; reportIncome.UnitID = unitID; reportIncome.UnitName = unitName; reportIncome.VatName = vatName; reportIncome.VatRate = vatRate; reportIncome.id = id; reportIncome.QIn = qIn; reportIncome.Markup = markup; reportIncome.code = code; reportIncome.codeShatem = codeShatem; return reportIncome; }
/// <summary> /// Deprecated Method for adding a new object to the ReportIncomes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReportIncomes(ReportIncome reportIncome) { base.AddObject("ReportIncomes", reportIncome); }