Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            CestaEN t = obj as CestaEN;

            if (t == null)
            {
                return(false);
            }
            if (Iden.Equals(t.Iden))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Ejemplo n.º 2
0
 public CestaEN(CestaEN cesta)
 {
     this.init(cesta.Iden, cesta.Fecha, cesta.Cliente, cesta.Producto, cesta.Productos);
 }