예제 #1
0
        public QueryTestFixture()
        {
            Context = ExamDatabaseContextFactory.Create();

            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <MappingProfile>();
            });

            Mapper = configurationProvider.CreateMapper();
        }
예제 #2
0
 public void Dispose()
 {
     ExamDatabaseContextFactory.Destroy(Context);
 }
예제 #3
0
 public CommandTestBase()
 {
     _context = ExamDatabaseContextFactory.Create();
 }