/// <summary> /// Deprecated Method for adding a new object to the TaxCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaxCategories(TaxCategory taxCategory) { base.AddObject("TaxCategories", taxCategory); }
/// <summary> /// Create a new TaxCategory object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="value">Initial value of the Value property.</param> /// <param name="status">Initial value of the Status property.</param> public static TaxCategory CreateTaxCategory(global::System.Guid id, global::System.String name, global::System.Double value, global::System.Boolean status) { TaxCategory taxCategory = new TaxCategory(); taxCategory.Id = id; taxCategory.Name = name; taxCategory.Value = value; taxCategory.Status = status; return taxCategory; }