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

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

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