示例#1
0
        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            await IndexCreation.CreateIndexesAsync(typeof(SetupDocumentStore).Assembly, _store, null, _store.Database, stoppingToken);

            _startupTaskContext.MarkTaskAsComplete();
        }
示例#2
0
        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            await _store.CreateUpdateIndexesAsync();

            _startupTaskContext.MarkTaskAsComplete();
        }