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); } }
public TeamEN(TeamEN team) { this.init(Id, team.Name, team.Country, team.Event_home, team.Event_away, team.Club_player, team.National_player); }