Beispiel #1
0
 public void Reload(HostFixture hostFixture, Action<DataBaseContext> reloadEntities)
 {
     hostFixture.Reset();
     DbContext = hostFixture.Server.Host.Services.GetService<DataBaseContext>();
     reloadEntities(DbContext);
 }
Beispiel #2
0
 public GivenFixture(HostFixture hostFixture)
 {
     DbContext = hostFixture.Server.Host.Services.GetService<DataBaseContext>();
 }