コード例 #1
0
        public SalesHistoryRepository()
        {
            this._connString = SqlHelper.GetConnectionString();
            this._slhStore   = new List <SalesHistory>();

            this._itmRepository = new ItemRepository();
            this._untRepository = new UnitOfSalesRepository();

            this.PopulateData();
        }
コード例 #2
0
ファイル: ItemRepository.cs プロジェクト: javaaid/welldone
        public ItemRepository()
        {
            this._connString = SqlHelper.GetConnectionString();
            this._itmStore   = new List <Item>();

            this._ctgRepository = new CategoryRepository();
            this._stkRepository = new StockRepository();
            this._uopRepository = new UnitOfPurchaseRepository();
            this._uosRepository = new UnitOfSalesRepository();

            this.PopulateData();
        }