コード例 #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();
 }