public bool Equals(KeyCliente other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.CodEmpresa == CodEmpresa && other.NroCuenta == NroCuenta && Equals(other.NumeroDocumento, NumeroDocumento));
 }
 public bool Equals(KeyCliente other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.CodEmpresa == CodEmpresa && other.NroCuenta == NroCuenta && Equals(other.NumeroDocumento, NumeroDocumento);
 }