/// <summary> /// Create a new InvoiceType object. /// </summary> /// <param name="invoiceTypeID">Initial value of the InvoiceTypeID property.</param> public static InvoiceType CreateInvoiceType(global::System.Int32 invoiceTypeID) { InvoiceType invoiceType = new InvoiceType(); invoiceType.InvoiceTypeID = invoiceTypeID; return invoiceType; }
/// <summary> /// Deprecated Method for adding a new object to the InvoiceTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInvoiceTypes(InvoiceType invoiceType) { base.AddObject("InvoiceTypes", invoiceType); }