Пример #1
0
        public WhingePoolApplicationContext(IWhingePoolConfiguration configuration)
            : base(configuration)
        {
            _whingersTable = new WhingersTable(CloudStorageAccount,
                                               configuration.WhingersTableName);

            _whingePoolsTable = new WhingePoolsTable(CloudStorageAccount,
                                                     configuration.WhingePoolsTableName);

            _whingesByWhingerTable = new WhingesByWhingerTable(CloudStorageAccount,
                                                               configuration.WhingesByWhingerTableName);

            _whingesByWhingePoolTable = new WhingesByWhingePoolTable(CloudStorageAccount,
                                                                     configuration.WhingesByWhingePoolTableName);
        }
        public WhingePoolApplicationContext(IWhingePoolConfiguration configuration)
            : base(configuration)
        {
            _whingersTable = new WhingersTable(CloudStorageAccount,
                                               configuration.WhingersTableName);

            _whingePoolsTable = new WhingePoolsTable(CloudStorageAccount,
                                                     configuration.WhingePoolsTableName);

            _whingesByWhingerTable = new WhingesByWhingerTable(CloudStorageAccount,
                                                               configuration.WhingesByWhingerTableName);

            _whingesByWhingePoolTable = new WhingesByWhingePoolTable(CloudStorageAccount,
                                                                     configuration.WhingesByWhingePoolTableName);
        }