示例#1
0
        public void Insert(int IdPaciente, string Fecha, string Hora, string CausaMuerte, int IdProfesional, string IngresoMorguePersonal, string EgresoPersonal, string Observaciones, int IdSsoUserAlta, DateTime?FechaAlta, int?IdSsoUserModificacion, DateTime?FechaModificacion, bool Activo)
        {
            SysDefuncion item = new SysDefuncion();

            item.IdPaciente = IdPaciente;

            item.Fecha = Fecha;

            item.Hora = Hora;

            item.CausaMuerte = CausaMuerte;

            item.IdProfesional = IdProfesional;

            item.IngresoMorguePersonal = IngresoMorguePersonal;

            item.EgresoPersonal = EgresoPersonal;

            item.Observaciones = Observaciones;

            item.IdSsoUserAlta = IdSsoUserAlta;

            item.FechaAlta = FechaAlta;

            item.IdSsoUserModificacion = IdSsoUserModificacion;

            item.FechaModificacion = FechaModificacion;

            item.Activo = Activo;


            item.Save(UserName);
        }
示例#2
0
 public bool Destroy(object Id)
 {
     return(SysDefuncion.Destroy(Id) == 1);
 }
示例#3
0
 public bool Delete(object Id)
 {
     return(SysDefuncion.Delete(Id) == 1);
 }