예제 #1
0
        public Boolean Equals(Contragent contragent)
        {
            if (contragent == null)
            {
                return(false);
            }

            return((this.INN.Equals(contragent.INN)) &&
                   (this.KPP.Equals(contragent.KPP)) &&
                   (this.Name.Equals(contragent.Name)));
        }
예제 #2
0
 public Account()
 {
     Bank       = new Bank();
     Contragent = new Contragent();
 }