/// <summary> /// Create a new DueInvoice object. /// </summary> /// <param name="homeId">Initial value of the HomeId property.</param> /// <param name="dueAmount">Initial value of the DueAmount property.</param> /// <param name="dueInvoicesId">Initial value of the DueInvoicesId property.</param> /// <param name="dueYearsId">Initial value of the DueYearsId property.</param> public static DueInvoice CreateDueInvoice(global::System.Int32 homeId, global::System.Decimal dueAmount, global::System.Guid dueInvoicesId, global::System.Guid dueYearsId) { DueInvoice dueInvoice = new DueInvoice(); dueInvoice.HomeId = homeId; dueInvoice.DueAmount = dueAmount; dueInvoice.DueInvoicesId = dueInvoicesId; dueInvoice.DueYearsId = dueYearsId; return dueInvoice; }
/// <summary> /// Deprecated Method for adding a new object to the DueInvoices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDueInvoices(DueInvoice dueInvoice) { base.AddObject("DueInvoices", dueInvoice); }