예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InvoiceServiceUnits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvoiceServiceUnits(InvoiceServiceUnit invoiceServiceUnit)
 {
     base.AddObject("InvoiceServiceUnits", invoiceServiceUnit);
 }
예제 #2
0
 /// <summary>
 /// Create a new InvoiceServiceUnit object.
 /// </summary>
 /// <param name="unitID">Initial value of the UnitID property.</param>
 public static InvoiceServiceUnit CreateInvoiceServiceUnit(global::System.Int32 unitID)
 {
     InvoiceServiceUnit invoiceServiceUnit = new InvoiceServiceUnit();
     invoiceServiceUnit.UnitID = unitID;
     return invoiceServiceUnit;
 }