问题 I'm trying to retrofit MSI to an existing app. The original app's DbContext used only a Constructor that found a ConnectionString by the same name in the web.config. I've modified it to use a DbConnectionFactory to inject an AccessToken. public class AppCoreDbContext : DbContext { public AppCoreDbContext() : this("AppCoreDbContext") { } public AppCoreDbContext(string connectionStringOrName) : base( OpenDbConnectionBuilder.Create(connectionStringOrName).Result, true) { } ...etc... } The class