예제 #1
0
        public void Update(int IdEmbarazo, int IdEfector, int IdPaciente, bool?Planeado, int?IdFracasoMetodoAnticonceptivo, DateTime Fum, DateTime Fpp, double?PesoAnterior, double?Talla)
        {
            AprEmbarazo item = new AprEmbarazo();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdEmbarazo = IdEmbarazo;

            item.IdEfector = IdEfector;

            item.IdPaciente = IdPaciente;

            item.Planeado = Planeado;

            item.IdFracasoMetodoAnticonceptivo = IdFracasoMetodoAnticonceptivo;

            item.Fum = Fum;

            item.Fpp = Fpp;

            item.PesoAnterior = PesoAnterior;

            item.Talla = Talla;

            item.Save(UserName);
        }
예제 #2
0
 public bool Destroy(object IdEmbarazo)
 {
     return(AprEmbarazo.Destroy(IdEmbarazo) == 1);
 }
예제 #3
0
 public bool Delete(object IdEmbarazo)
 {
     return(AprEmbarazo.Delete(IdEmbarazo) == 1);
 }