Example #1
0
        public override async Task StartupAsync(ApplicationInstance instance)
        {
            using (var scope = await instance.CreateScopeAsync())
            {
                var dataset = scope.Scope.ServiceProvider.GetRequiredService <TDataset>();

                await dataset.InstallAsync();
            }
        }