// ==================================| // Methods dealing with transactions | // ==================================| public void Sell(int transactionNumber, string date) { DBaccess.DecrementInventory(TableNames.INVENTORY, this); DBaccess.AddToTransactionTable(TableNames.TRANSACTION, this, TransactionTypes.SALE, transactionNumber, date); }