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