public QueryTestBase() { this.Context = ReturnDbContextFactory.Create(); var configurationProvider = new MapperConfiguration(configure: cfg => { cfg.AddProfile <MappingProfile>(); }); this.Mapper = configurationProvider.CreateMapper(); }
public void Dispose() => ReturnDbContextFactory.Destroy(context: this.Context);
public CommandTestBase() { this.Context = ReturnDbContextFactory.Create(); }