/// <summary> /// Create a new Seasons object. /// </summary> /// <param name="seasonId">Initial value of the SeasonId property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="startYear">Initial value of the StartYear property.</param> /// <param name="endYear">Initial value of the EndYear property.</param> public static Seasons CreateSeasons(global::System.Int64 seasonId, global::System.String description, global::System.Int32 startYear, global::System.Int32 endYear) { Seasons seasons = new Seasons(); seasons.SeasonId = seasonId; seasons.Description = description; seasons.StartYear = startYear; seasons.EndYear = endYear; return seasons; }
/// <summary> /// Deprecated Method for adding a new object to the Seasons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSeasons(Seasons seasons) { base.AddObject("Seasons", seasons); }