/// <summary> /// Create a new Team object. /// </summary> /// <param name="yearID">Initial value of the yearID property.</param> /// <param name="lgID">Initial value of the lgID property.</param> /// <param name="teamID">Initial value of the teamID property.</param> public static Team CreateTeam(global::System.Int16 yearID, global::System.String lgID, global::System.String teamID) { Team team = new Team(); team.yearID = yearID; team.lgID = lgID; team.teamID = teamID; return team; }
/// <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); }