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

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public HandicapEN(HandicapEN handicap)
 {
     this.init(Id, handicap.Result, handicap.Line, handicap.Quantity, handicap.Asian, handicap.Odd, handicap.Description, handicap.PickResult, handicap.Bookie, handicap.Post, handicap.Event_rel);
 }