title: Trying to delete a row from Cosmos DB in C# code
body: <p>I am trying to delete of a row from a Cosmos db container. I have only ID. The PartitionKey is different ie, Category column. But I don't have category value while deleting. I am new to Cosmos DB. Is there any approach to perform this?</p>
  <pre><code> var task = await this.MainContainer.DeleteItemAsync&lt;T&gt;(id, new PartitionKey(&quot;Category1&quot;));
  </code></pre>