コード例 #1
0
        public void Update(int IdAlerta, int IdCalendarioVisitas, string Descripcion, string Comprobador, string CreatedBy, DateTime?CreatedOn, string ModifiedBy, DateTime?ModifiedOn)
        {
            AprAlertaControlMenor item = new AprAlertaControlMenor();

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

            item.IdAlerta = IdAlerta;

            item.IdCalendarioVisitas = IdCalendarioVisitas;

            item.Descripcion = Descripcion;

            item.Comprobador = Comprobador;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

            item.Save(UserName);
        }
コード例 #2
0
 public bool Destroy(object IdAlerta)
 {
     return(AprAlertaControlMenor.Destroy(IdAlerta) == 1);
 }