Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            TeamEN t = obj as TeamEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Ejemplo n.º 2
0
 public TeamEN(TeamEN team)
 {
     this.init(Id, team.Name, team.Country, team.Event_home, team.Event_away, team.Club_player, team.National_player);
 }