public LoggerTests() { context = new TestingContext(); logger = new Logger(context); context.RemoveRange(context.Set <Log>()); context.SaveChanges(); }
public QueryTests() { context = new TestingContext(); select = new Query <TestModel>(context.Set <TestModel>()); context.RemoveRange(context.Set <TestModel>()); context.Add(ObjectsFactory.CreateTestModel()); context.SaveChanges(); }