コード例 #1
0
ファイル: StoreFactory.cs プロジェクト: assalvatierra/eCart20
        public StoreFactory()
        {
            //initialize storemgr
            this.storemgr = new Services.StoreMgr();
            this.storemgr.setDbLayer(new StoreDBLayer());

            this.cartmgr = new Services.CartMgr();
            this.cartmgr.setDbLayer(new CartDbLayer());

            this.accMgr   = new Services.AccMgr();
            this.riderMgr = new Services.RiderMgr();
        }
コード例 #2
0
        public StoreFactory()
        {
            //initialize storemgr
            this.storemgr = new StoreMgr();
            this.storemgr.setDbLayer(new StoreDBLayer());

            this.cartmgr = new CartMgr();
            this.cartmgr.setDbLayer(new CartDbLayer());

            this.userMgr  = new UserMgr();
            this.riderMgr = new RiderMgr();

            this.adminMgr = new AdminMgr();

            this.DBRef = new DBRefDBLayer();
        }