/// <summary> /// Create a new BillingItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="practiceId">Initial value of the PracticeId property.</param> /// <param name="billingId">Initial value of the BillingId property.</param> /// <param name="itemName">Initial value of the ItemName property.</param> /// <param name="itemAmount">Initial value of the ItemAmount property.</param> /// <param name="itemDiscount">Initial value of the ItemDiscount property.</param> /// <param name="itemAccountContractId">Initial value of the ItemAccountContractId property.</param> public static BillingItem CreateBillingItem(global::System.Int32 id, global::System.Int32 practiceId, global::System.Int32 billingId, global::System.String itemName, global::System.Decimal itemAmount, global::System.Decimal itemDiscount, global::System.Int32 itemAccountContractId) { BillingItem billingItem = new BillingItem(); billingItem.Id = id; billingItem.PracticeId = practiceId; billingItem.BillingId = billingId; billingItem.ItemName = itemName; billingItem.ItemAmount = itemAmount; billingItem.ItemDiscount = itemDiscount; billingItem.ItemAccountContractId = itemAccountContractId; return billingItem; }
/// <summary> /// Deprecated Method for adding a new object to the BillingItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBillingItems(BillingItem billingItem) { base.AddObject("BillingItems", billingItem); }