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

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
예제 #2
0
 public MetodoPagoEN(MetodoPagoEN metodoPago)
 {
     this.init(Id, metodoPago.TipoPago, metodoPago.Pedido, metodoPago.Usuario);
 }