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

            _startupTaskContext.MarkTaskAsComplete();
        }
Ejemplo n.º 2
0
        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
        {
            await _store.CreateUpdateIndexesAsync();

            _startupTaskContext.MarkTaskAsComplete();
        }