Ejemplo n.º 1
0
        public QueryTestFixture()
        {
            Context = EventsCoreContextFactory.Create();
            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <MappingProfile>();
            });

            Mapper = configurationProvider.CreateMapper();
        }
Ejemplo n.º 2
0
 public CommandTestBase()
 {
     _context = EventsCoreContextFactory.Create();
 }
Ejemplo n.º 3
0
 public void Dispose()
 {
     EventsCoreContextFactory.Destroy(_context);
 }