public QueryTestBase() { Context = ColabSpaceDbContextFactory.Create(); Mapper = new MapperConfiguration(cfg => { cfg.AddProfile <MappingProfile>(); }).CreateMapper(); }
public CommandTestBase() { _context = ColabSpaceDbContextFactory.Create(); var configurationProvider = new MapperConfiguration(cfg => { cfg.AddProfile <MappingProfile>(); }); _mapper = configurationProvider.CreateMapper(); }
public QueryTestFixture() { Context = ColabSpaceDbContextFactory.Create(); var configurationProvider = new MapperConfiguration(cfg => { cfg.AddProfile <MappingProfile>(); }); Mapper = configurationProvider.CreateMapper(); }
public void Dispose() { ColabSpaceDbContextFactory.Destroy(Context); }