Пример #1
0
 public bool Equals(Ope other)
 {
     if (other == null)
     {
         return(false);
     }
     return(this.OpeId.Equals(other.OpeId));
 }
Пример #2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            Ope objAsOpe = obj as Ope;

            if (objAsOpe == null)
            {
                return(false);
            }
            else
            {
                return(Equals(objAsOpe));
            }
        }