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

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

            Mapper = configurationProvider.CreateMapper();
        }
Example #2
0
 public void Dispose()
 {
     NorthwindContextFactory.Destroy(Context);
 }
Example #3
0
 public CommandTestBase()
 {
     _context = NorthwindContextFactory.Create();
 }