// 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); }
// 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(); }
// Creates a ProductType manager and connection with the database.. public ProductTypeManagerShould() { _db = new dbUtilities("BANGAZONCLI_TEST_DB"); _ptm = new ProductTypeManager(_db); _db.CheckProductType(); }