コード例 #1
0
        public QueryTestFixture()
        {
            Context = AppContextFactory.Create();

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

            Mapper = configurationProvider.CreateMapper();
        }
コード例 #2
0
 public CommandTestBase()
 {
     _context = AppContextFactory.Create();
 }