Ejemplo n.º 1
0
        public QueryTestBase()
        {
            this.Context = ReturnDbContextFactory.Create();

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

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