Example #1
0
        public QueryTestFixture()
        {
            Context = NorthwindContextFactory.Create();

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

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