/// <summary> /// Deprecated Method for adding a new object to the InvoiceServiceUnits EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInvoiceServiceUnits(InvoiceServiceUnit invoiceServiceUnit) { base.AddObject("InvoiceServiceUnits", invoiceServiceUnit); }
/// <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; }