Example #1
0
        public void Insert(string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprNumeroDosi item = new AprNumeroDosi();

            item.Nombre = Nombre;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }
Example #2
0
        public void Update(int IdNumeroDosis, string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprNumeroDosi item = new AprNumeroDosi();

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

            item.IdNumeroDosis = IdNumeroDosis;

            item.Nombre = Nombre;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

            item.Save(UserName);
        }
Example #3
0
 public bool Destroy(object IdNumeroDosis)
 {
     return(AprNumeroDosi.Destroy(IdNumeroDosis) == 1);
 }
Example #4
0
 public bool Delete(object IdNumeroDosis)
 {
     return(AprNumeroDosi.Delete(IdNumeroDosis) == 1);
 }