how to use multi DBContextPool?
问题 In EFCore 2.0 Add new feature, DbContext pooling. i know how to use it in single context, however, sometimes need multi context in project, public class BContext : DbContext { public BContext(DbContextOptions<BContext> options) : base(options) { } } public class AContext : DbContext { public AContext(DbContextOptions<AContext> options) : base(options) { } } ConfigureServices services.AddDbContextPool<AContext>(options => { options.UseInMemoryDatabase("AContext.InMemory"); }); services