You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's commonplace for developers to use CosmosDB via Entity Framework Core, however as of late 2021 EF Core still does not support using CosmosDB's geospatial types as complex-value-types in EF entity classes:
So a simple advisory in this article that makes it clear that using CosmosDB's own complex-types will not work when going through an ORM layer, like EF Core, instead of using CosmosDB's client lib/API directly.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 40e7ff0a-c1fc-70e9-10ba-8f8ec57cea2b
Version Independent ID: 8f5c8c81-2d65-eb15-dc34-6f7864460389
It's commonplace for developers to use CosmosDB via Entity Framework Core, however as of late 2021 EF Core still does not support using CosmosDB's geospatial types as complex-value-types in EF entity classes:
And this is becoming a gotcha for users unfamiliar with how EF works and that EF is fully separate from CosmosDB, for example: https://stackoverflow.com/q/60949543/159145
So a simple advisory in this article that makes it clear that using CosmosDB's own complex-types will not work when going through an ORM layer, like EF Core, instead of using CosmosDB's client lib/API directly.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: