Ejemplo n.º 1
0
 public void ConfigureServices(IServiceCollection services)
 {
     GeneratedDependencies.ConfigureGeneratedServices(services);
     services.AddDbContext <EventStoreContext>(option => option.UseSqlite(Configuration.GetConnectionString("EventStoreDatabase")));
     services.AddDbContext <HangfireContext>(option => option.UseSqlite(Configuration.GetConnectionString("HangfireDatabase")));
 }
Ejemplo n.º 2
0
 public void ConfigureServices(IServiceCollection services)
 {
     GeneratedDependencies.ConfigureGeneratedServices(services);
     services.AddDbContext <EventStoreContext>(option => option.UseSqlite("Data Source=Eventstore.db"));
 }