示例#1
0
        public QueryTestBase()
        {
            _context = RangenContextFactory.Create();

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

            _mapper = configurationProvider.CreateMapper();
        }
示例#2
0
 public void Dispose()
 {
     RangenContextFactory.Destroy(_context);
 }