Exemple #1
0
        public QueryTestFixture()
        {
            Context = PTFilesDbContextFactory.Create();

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

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