/// <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="team1">Initial value of the Team1 property.</param> /// <param name="poule">Initial value of the Poule property.</param> /// <param name="short">Initial value of the Short property.</param> public static Team CreateTeam(global::System.Int32 id, global::System.String team1, global::System.String poule, global::System.String @short) { Team team = new Team(); team.Id = id; team.Team1 = team1; team.Poule = poule; team.Short = @short; return team; }