diff --git a/ManagedCode.Database.Cosmos/CosmosItem.cs b/ManagedCode.Database.Cosmos/CosmosItem.cs index 700eb3d..8b8b873 100644 --- a/ManagedCode.Database.Cosmos/CosmosItem.cs +++ b/ManagedCode.Database.Cosmos/CosmosItem.cs @@ -11,14 +11,12 @@ public CosmosItem() { Id = $"{Guid.NewGuid():N}"; Type = GetType().Name; - PartitionKey = new PartitionKey(Id); } public CosmosItem(string id) { Id = id; Type = GetType().Name; - PartitionKey = new PartitionKey(Id); } [JsonProperty("type")] public string Type { get; set; }