Exemple #1
0
 public EntityFrameworkTests()
 {
     _dbFixture = new DbFixture();
     _dbFixture.AddEntity(2, 3);
     _dbFixture.AddEntity(1, 3);
     _dbFixture.AddEntity(1, 3);
     _dbFixture.Context.SaveChanges();
 }
 public IntegrationTests()
 {
     _dbFixture = new DbFixture();
     _dbFixture.AddEntity(2, 1, 2);
     _dbFixture.AddEntity(1, 2, 3);
     _dbFixture.AddEntity(3, 1, 1);
     _dbFixture.Context.SaveChanges();
 }