diff --git a/src/EFCore.Cosmos/Properties/CosmosStrings.Designer.cs b/src/EFCore.Cosmos/Properties/CosmosStrings.Designer.cs
index 11b9ab8eec2..ca04b618a8a 100644
--- a/src/EFCore.Cosmos/Properties/CosmosStrings.Designer.cs
+++ b/src/EFCore.Cosmos/Properties/CosmosStrings.Designer.cs
@@ -195,16 +195,16 @@ public static string OrphanedNestedDocumentSensitive([CanBeNull] object entityTy
///
/// Unable to execute a ReadItem query since the partition key value is missing. Consider using the 'WithPartitionKey' method on the query to specify partition key to use.
///
- public static string ParitionKeyMissing
- => GetString("ParitionKeyMissing");
+ public static string PartitionKeyMissing
+ => GetString("PartitionKeyMissing");
///
- /// The partition key specified in the 'WithPartitionKey' call '{paritionKey1}' and the partition key specified in the 'Where' predicate '{paritionKey2}' must be identical. Remove one of them.
+ /// The partition key specified in the 'WithPartitionKey' call '{partitionKey1}' and the partition key specified in the 'Where' predicate '{partitionKey2}' must be identical. Remove one of them.
///
- public static string PartitionKeyMismatch([CanBeNull] object paritionKey1, [CanBeNull] object paritionKey2)
+ public static string PartitionKeyMismatch([CanBeNull] object partitionKey1, [CanBeNull] object partitionKey2)
=> string.Format(
- GetString("PartitionKeyMismatch", nameof(paritionKey1), nameof(paritionKey2)),
- paritionKey1, paritionKey2);
+ GetString("PartitionKeyMismatch", nameof(partitionKey1), nameof(partitionKey2)),
+ partitionKey1, partitionKey2);
///
/// The partition key for entity type '{entityType}' is set to '{property}', but there is no property with that name.
diff --git a/src/EFCore.Cosmos/Properties/CosmosStrings.resx b/src/EFCore.Cosmos/Properties/CosmosStrings.resx
index 4a93b5d36aa..8a6af4c6d04 100644
--- a/src/EFCore.Cosmos/Properties/CosmosStrings.resx
+++ b/src/EFCore.Cosmos/Properties/CosmosStrings.resx
@@ -186,11 +186,11 @@
The entity of type '{entityType}' is mapped as part of the document mapped to '{missingEntityType}', but there is no tracked entity of this type with the key value '{keyValue}'.
-
+
Unable to execute a ReadItem query since the partition key value is missing. Consider using the 'WithPartitionKey' method on the query to specify partition key to use.
- The partition key specified in the 'WithPartitionKey' call '{paritionKey1}' and the partition key specified in the 'Where' predicate '{paritionKey2}' must be identical. Remove one of them.
+ The partition key specified in the 'WithPartitionKey' call '{partitionKey1}' and the partition key specified in the 'Where' predicate '{partitionKey2}' must be identical. Remove one of them.
The partition key for entity type '{entityType}' is set to '{property}', but there is no property with that name.
diff --git a/src/EFCore.Cosmos/Query/Internal/CosmosShapedQueryCompilingExpressionVisitor.ReadItemQueryingEnumerable.cs b/src/EFCore.Cosmos/Query/Internal/CosmosShapedQueryCompilingExpressionVisitor.ReadItemQueryingEnumerable.cs
index ad66807e9a7..61e6e975958 100644
--- a/src/EFCore.Cosmos/Query/Internal/CosmosShapedQueryCompilingExpressionVisitor.ReadItemQueryingEnumerable.cs
+++ b/src/EFCore.Cosmos/Query/Internal/CosmosShapedQueryCompilingExpressionVisitor.ReadItemQueryingEnumerable.cs
@@ -211,7 +211,7 @@ public bool MoveNext()
if (!_readItemEnumerable.TryGetPartitionId(out var partitionKey))
{
- throw new InvalidOperationException(CosmosStrings.ParitionKeyMissing);
+ throw new InvalidOperationException(CosmosStrings.PartitionKeyMissing);
}
EntityFrameworkEventSource.Log.QueryExecuting();
@@ -250,7 +250,7 @@ public async ValueTask MoveNextAsync()
if (!_readItemEnumerable.TryGetPartitionId(out var partitionKey))
{
- throw new InvalidOperationException(CosmosStrings.ParitionKeyMissing);
+ throw new InvalidOperationException(CosmosStrings.PartitionKeyMissing);
}
EntityFrameworkEventSource.Log.QueryExecuting();