Fixup to 6.0.0-rc.1 upgrade

* Require 6.0.100-rc.1 SDK in global.json
* Tighter ShouldUseSameServiceProvider
This commit is contained in:
Shay Rojansky
2021-09-26 19:23:14 +03:00
parent 1bc13f8daa
commit cd128bbd13
2 changed files with 3 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ namespace EFCore.NamingConventions.Internal
} }
public override bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo other) public override bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo other)
=> true; => other is ExtensionInfo;
public override void PopulateDebugInfo(IDictionary<string, string> debugInfo) public override void PopulateDebugInfo(IDictionary<string, string> debugInfo)
{ {

View File

@@ -1,7 +1,7 @@
{ {
"sdk": { "sdk": {
"version": "5.0.100", "version": "6.0.100-rc.1.21463.6",
"rollForward": "latestMajor", "rollForward": "latestMajor",
"allowPrerelease": "false" "allowPrerelease": "true"
} }
} }