/// <summary> /// Deprecated Method for adding a new object to the BillingCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBillingCategories(BillingCategory billingCategory) { base.AddObject("BillingCategories", billingCategory); }
/// <summary> /// Create a new BillingCategory object. /// </summary> /// <param name="billingCategoryID">Initial value of the BillingCategoryID property.</param> /// <param name="billingCategoryDescription">Initial value of the BillingCategoryDescription property.</param> /// <param name="billingCategoryTaxable">Initial value of the BillingCategoryTaxable property.</param> public static BillingCategory CreateBillingCategory(global::System.Int16 billingCategoryID, global::System.String billingCategoryDescription, global::System.Boolean billingCategoryTaxable) { BillingCategory billingCategory = new BillingCategory(); billingCategory.BillingCategoryID = billingCategoryID; billingCategory.BillingCategoryDescription = billingCategoryDescription; billingCategory.BillingCategoryTaxable = billingCategoryTaxable; return billingCategory; }