Esempio n. 1
0
 public async Task TestSleep()
 {
     var options = new DbContextOptionsBuilder <ExampleContext>()
                   .UseInMemoryDatabase("example")
                   .Options;
     var context = new ExampleContext(options);
     var repo    = new ExampleRepository(context);
     await repo.CountEntities();
 }