diff --git a/All.sln.DotSettings b/All.sln.DotSettings
index 31aeddd6221..9d6e36aa676 100644
--- a/All.sln.DotSettings
+++ b/All.sln.DotSettings
@@ -32,6 +32,7 @@
WARNING
WARNING
WARNING
+ WARNING
True
<?xml version="1.0" encoding="utf-16"?><Profile name="EntityFramework"><CSArrangeThisQualifier>True</CSArrangeThisQualifier><CSRemoveCodeRedundancies>True</CSRemoveCodeRedundancies><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSUseVar><BehavourStyle>CAN_CHANGE_TO_IMPLICIT</BehavourStyle><LocalVariableStyle>ALWAYS_IMPLICIT</LocalVariableStyle><ForeachVariableStyle>ALWAYS_IMPLICIT</ForeachVariableStyle></CSUseVar><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings></CSOptimizeUsings><CSShortenReferences>True</CSShortenReferences><CSReformatCode>True</CSReformatCode><XMLReformatCode>True</XMLReformatCode><CSUpdateFileHeader>True</CSUpdateFileHeader><CSharpFormatDocComments>True</CSharpFormatDocComments><RemoveCodeRedundancies>True</RemoveCodeRedundancies><CSMakeAutoPropertyGetOnly>True</CSMakeAutoPropertyGetOnly><CSArrangeQualifiers>True</CSArrangeQualifiers><CSEnforceVarKeywordUsageSettings>True</CSEnforceVarKeywordUsageSettings><CSFixBuiltinTypeReferences>True</CSFixBuiltinTypeReferences><CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" ArrangeAttributes="True" ArrangeVarStyle="True" ArrangeBraces="True" ArrangeCodeBodyStyle="True" ArrangeObjectCreation="True" ArrangeDefaultValue="True" ArrangeNamespaces="True" /><IDEA_SETTINGS><profile version="1.0">
diff --git a/src/EFCore.Relational/Update/Internal/CompositeRowForeignKeyValueFactory.cs b/src/EFCore.Relational/Update/Internal/CompositeRowForeignKeyValueFactory.cs
index c9ce89a9bc1..ab44d45936f 100644
--- a/src/EFCore.Relational/Update/Internal/CompositeRowForeignKeyValueFactory.cs
+++ b/src/EFCore.Relational/Update/Internal/CompositeRowForeignKeyValueFactory.cs
@@ -29,10 +29,11 @@ public CompositeRowForeignKeyValueFactory(
: base(foreignKey.Columns)
{
_foreignKey = foreignKey;
- _principalKeyValueFactory = (IRowKeyValueFactory