Cosmos Db and EF Core: System.InvalidOperationException: Unable to track an entity of type ‘Order’ because its primary key property ‘Id’ is null
so I’d been using CosmosClient to develop my app, but I wanted to implement Domain Events which are not supported with CosmosClient, so I had to switch to EF Core. When using EF Core I can’t get my entities from the db, because of the Id being saved as “id” in cosmos.