/// <summary> /// Deprecated Method for adding a new object to the Teams EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTeams(Team team) { base.AddObject("Teams", team); }
/// <summary> /// Create a new Team object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="teamName">Initial value of the TeamName property.</param> /// <param name="conference">Initial value of the Conference property.</param> /// <param name="division">Initial value of the Division property.</param> public static Team CreateTeam(global::System.Int32 id, global::System.String teamName, global::System.String conference, global::System.String division) { Team team = new Team(); team.Id = id; team.TeamName = teamName; team.Conference = conference; team.Division = division; return team; }