Пример #1
0
        public QueryTestFixture()
        {
            Context = SolarTallyContextFactory.Create();

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

            Mapper = configurationProvider.CreateMapper();
        }
Пример #2
0
 public void Dispose()
 {
     SolarTallyContextFactory.Destroy(Context);
 }