/// <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="teamCode">Initial value of the TeamCode property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> /// <param name="total">Initial value of the Total property.</param> public static Team CreateTeam(global::System.String teamCode, global::System.DateTime createDate, global::System.DateTime modifiedDate, global::System.String total) { Team team = new Team(); team.TeamCode = teamCode; team.CreateDate = createDate; team.ModifiedDate = modifiedDate; team.Total = total; return team; }