예제 #1
0
 /// <summary>
 /// Create a new Team object.
 /// </summary>
 /// <param name="teamName">Initial value of the TeamName property.</param>
 public static Team CreateTeam(global::System.String teamName)
 {
     Team team = new Team();
     team.TeamName = teamName;
     return team;
 }
예제 #2
0
 /// <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);
 }