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