Exemplo n.º 1
0
        /// <summary>
        /// Delete the current license from the database
        /// </summary>
        public void Delete()
        {
            // Delete from the database
            AuditWizardDataAccess lwDataAccess = new AuditWizardDataAccess();

            lwDataAccess.ActionDelete(this);

            // ...and audit the deletion
            AuditTrailEntry ate = BuildATE();

            ate.Type = AuditTrailEntry.TYPE.deleted;
            lwDataAccess.AuditTrailAdd(ate);
        }