Esempio n. 1
0
        public void Insert(int IdEfector, int IdObraSocial, string Numero, DateTime Fecha, string Periodo, string Observaciones, decimal SubTotal, decimal Descuento, decimal Total, string Estado, int IdUsuarioRegistro, DateTime FechaRegistro)
        {
            FacFactura item = new FacFactura();

            item.IdEfector = IdEfector;

            item.IdObraSocial = IdObraSocial;

            item.Numero = Numero;

            item.Fecha = Fecha;

            item.Periodo = Periodo;

            item.Observaciones = Observaciones;

            item.SubTotal = SubTotal;

            item.Descuento = Descuento;

            item.Total = Total;

            item.Estado = Estado;

            item.IdUsuarioRegistro = IdUsuarioRegistro;

            item.FechaRegistro = FechaRegistro;


            item.Save(UserName);
        }
Esempio n. 2
0
 public bool Destroy(object IdFactura)
 {
     return(FacFactura.Destroy(IdFactura) == 1);
 }
Esempio n. 3
0
 public bool Delete(object IdFactura)
 {
     return(FacFactura.Delete(IdFactura) == 1);
 }