public override bool Equals(object obj) { if (obj == null) { return(false); } MatchEN t = obj as MatchEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public MatchEN(MatchEN match) { this.init(Id, match.Away, match.Home, match.Stadium, match.Competition, match.Pick_rel, match.Date); }