Example #1
0
 /// <summary>
 /// Create a new SpareInInvoiceView object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="vatRateName">Initial value of the VatRateName property.</param>
 /// <param name="incomeQIn">Initial value of the IncomeQIn property.</param>
 /// <param name="incomeMarkup">Initial value of the IncomeMarkup property.</param>
 public static SpareInInvoiceView CreateSpareInInvoiceView(global::System.Int32 id, global::System.String vatRateName, global::System.Decimal incomeQIn, global::System.Decimal incomeMarkup)
 {
     SpareInInvoiceView spareInInvoiceView = new SpareInInvoiceView();
     spareInInvoiceView.id = id;
     spareInInvoiceView.VatRateName = vatRateName;
     spareInInvoiceView.IncomeQIn = incomeQIn;
     spareInInvoiceView.IncomeMarkup = incomeMarkup;
     return spareInInvoiceView;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SpareInInvoiceViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSpareInInvoiceViews(SpareInInvoiceView spareInInvoiceView)
 {
     base.AddObject("SpareInInvoiceViews", spareInInvoiceView);
 }