// Creates a payment type manager and connection with the database..

        public PaymentTypeManagerShould()
        {
            _db  = new dbUtilities("BANGAZONCLI_TEST_DB");
            _ptm = new PaymentTypeManager(_db);
            _db.CheckPaymentType();
            _cm = new CustomerManager(_db);
        }
Пример #2
0
        // Creates a Product manager and connection with the database..

        public ProductManagerShould()
        {
            _db = new dbUtilities("BANGAZONCLI_TEST_DB");
            _pm = new ProductManager(_db);
            _om = new OrderManager(_db);
            _db.CheckProduct();
        }
        // Creates a customer manager and connection with the database..

        public CustomerManagerShould()
        {
            _db = new dbUtilities("BANGAZONCLI_TEST_DB");
            _cm = new CustomerManager(_db);
            _db.CheckCustomer();
        }
Пример #4
0
        // Creates a ProductType manager and connection with the database..

        public ProductTypeManagerShould()
        {
            _db  = new dbUtilities("BANGAZONCLI_TEST_DB");
            _ptm = new ProductTypeManager(_db);
            _db.CheckProductType();
        }