示例#1
0
        public QueryTestFixture()
        {
            Context = EventDbContextFactory.Create();

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

            Mapper = configurationProvider.CreateMapper();
        }
示例#2
0
 public CommandTestBase()
 {
     _context = EventDbContextFactory.Create();
 }