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

            if (t == null)
            {
                return(false);
            }
            if (Idnumber.Equals(t.Idnumber))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 public CustomerEN(CustomerEN customer)
 {
     this.init(Idnumber, customer.FirstName, customer.Email, customer.Password, customer.LastName, customer.Address, customer.Telephone, customer.Zip, customer.Order);
 }