コード例 #1
0
        //Print all transactions associated with a specific customer, accesses multiple tables
        static void CustomerTransactions()
        {
            var customer = _customerView.ReadCustomer();

            if (customer != null)
            {
                var accounts = _accountView.GetAccounts(customer);

                if (accounts != null)
                {
                    _transactionView.ReadAll(accounts);
                }
            }
        }