Example #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            FacturaEN t = obj as FacturaEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
 public FacturaEN(FacturaEN factura)
 {
     this.init(Id, factura.Pedido, factura.Importe, factura.Direccion, factura.MetodoPago);
 }