Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            TimecastEN t = obj as TimecastEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public TimecastEN(TimecastEN timecast)
 {
     this.init(Id, timecast.Score_time, timecast.Scorer_name, timecast.Player, timecast.Odd, timecast.Description, timecast.PickResult, timecast.Bookie, timecast.Post, timecast.Event_rel);
 }