/// <summary>
 /// Deprecated Method for adding a new object to the Teams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTeams(Team team)
 {
     base.AddObject("Teams", team);
 }
 /// <summary>
 /// Create a new Team object.
 /// </summary>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="adminName">Initial value of the AdminName property.</param>
 /// <param name="joinDate">Initial value of the JoinDate property.</param>
 public static Team CreateTeam(global::System.String name, global::System.String adminName, global::System.DateTime joinDate)
 {
     Team team = new Team();
     team.Name = name;
     team.AdminName = adminName;
     team.JoinDate = joinDate;
     return team;
 }