In Cosmos, the partition key can either be expressed within the LINQ query (via a standard Where clause), or it can be determined explicitly by using the WithPartitionKey() operator. When the query is executed via ReadItem, WithPartitionKey() is ignored.
In Cosmos, the partition key can either be expressed within the LINQ query (via a standard Where clause), or it can be determined explicitly by using the WithPartitionKey() operator. When the query is executed via ReadItem, WithPartitionKey() is ignored.