public OrderingBLL(OrderingWindow window)
        {
            this.window = window;
            SqlConnectBLL sql = new SqlConnectBLL();

            dao = new OrderingDAO(sql.host, sql.port, sql.database, sql.username, sql.password);
        }
        public MainUIBLL()
        {
            SqlConnectBLL sql = new SqlConnectBLL();

            dao = new MainUIDAO(sql.host, sql.port, sql.database, sql.username, sql.password);
        }
        public ReviewBLL()
        {
            SqlConnectBLL common = new SqlConnectBLL();

            dao = new ReviewDAO(common.host, common.port, common.database, common.username, common.password);
        }
        public InsertAndEditBLL()
        {
            SqlConnectBLL sql = new SqlConnectBLL();

            dao = new InsertAndEditDAO(sql.host, sql.port, sql.database, sql.username, sql.password);
        }
        public LoginBLL()
        {
            SqlConnectBLL sql = new SqlConnectBLL();

            dao = new LoginDAO(sql.host, sql.port, sql.database, sql.username, sql.password);
        }
        public DetailBLL()
        {
            SqlConnectBLL sql = new SqlConnectBLL();

            dao = new DetailDAO(sql.host, sql.port, sql.database, sql.username, sql.password);
        }
Exemple #7
0
        public OrderDetailBLL()
        {
            SqlConnectBLL common = new SqlConnectBLL();

            dao = new OrderDetailDAO(common.host, common.port, common.database, common.username, common.password);
        }