示例#1
0
 public bool Equals(Oppilas Other)
 {
     if (Other == null)
     {
         return(false);
     }
     return(this.OppilasId.Equals(Other.OppilasId));
 }
示例#2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            Oppilas objOppilas = obj as Oppilas;

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