/// <summary> /// Create a new SportCategory object. /// </summary> /// <param name="categoryId">Initial value of the CategoryId property.</param> public static SportCategory CreateSportCategory(global::System.Int32 categoryId) { SportCategory sportCategory = new SportCategory(); sportCategory.CategoryId = categoryId; return sportCategory; }
/// <summary> /// Deprecated Method for adding a new object to the SportCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSportCategories(SportCategory sportCategory) { base.AddObject("SportCategories", sportCategory); }