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