Пример #1
0
        public QueryTestFixture()
        {
            Context = TemplateContextFactory.Create();

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

            Mapper = configurationProvider.CreateMapper();
        }
 public void Dispose()
 {
     TemplateContextFactory.Destroy(_context);
 }
 public CommandTestBase()
 {
     _context = TemplateContextFactory.Create();
 }