/// <summary> /// Deprecated Method for adding a new object to the RateCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRateCategories(RateCategory rateCategory) { base.AddObject("RateCategories", rateCategory); }
/// <summary> /// Create a new RateCategory object. /// </summary> /// <param name="rateCategoryId">Initial value of the RateCategoryId property.</param> /// <param name="active">Initial value of the Active property.</param> public static RateCategory CreateRateCategory(global::System.Int16 rateCategoryId, global::System.Boolean active) { RateCategory rateCategory = new RateCategory(); rateCategory.RateCategoryId = rateCategoryId; rateCategory.Active = active; return rateCategory; }