예제 #1
0
        public QueryTestBase()
        {
            this.Context = ReturnDbContextFactory.Create();

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

            this.Mapper = configurationProvider.CreateMapper();
        }
예제 #2
0
 public void Dispose() => ReturnDbContextFactory.Destroy(context: this.Context);
예제 #3
0
 public CommandTestBase()
 {
     this.Context = ReturnDbContextFactory.Create();
 }