/// <summary> /// The clearCopies method will clear the copies contained within a transaction object. It will /// reset the availability of the copies back to true, before clearing the lists. /// </summary> /// <param name="transaction">The transaction object</param> private void clearCopies(Transaction transaction) { if (transaction.transactionID > 0) { TransactionItem.UpdateCopyStatus(transaction.transactionID, DVDCopy.Status.AVAILABLE); TransactionItem.Clear(transaction.transactionID); } }