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); } }
public CustomerEN(CustomerEN customer) { this.init(Idnumber, customer.FirstName, customer.Email, customer.Password, customer.LastName, customer.Address, customer.Telephone, customer.Zip, customer.Order); }