public void Insert(string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprTipoLactancium item = new AprTipoLactancium();

            item.Nombre = Nombre;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }
        public void Update(int IdTipoLactancia, string Nombre, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprTipoLactancium item = new AprTipoLactancium();

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

            item.IdTipoLactancia = IdTipoLactancia;

            item.Nombre = Nombre;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

            item.Save(UserName);
        }
 public bool Destroy(object IdTipoLactancia)
 {
     return(AprTipoLactancium.Destroy(IdTipoLactancia) == 1);
 }
 public bool Delete(object IdTipoLactancia)
 {
     return(AprTipoLactancium.Delete(IdTipoLactancia) == 1);
 }