[EF-42] Shadow properties Created: 17/Aug/23  Updated: 14/Nov/23

Status: Backlog
Project: Entity Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Unknown
Reporter: Damien Guard Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by EF-66 ShadowProperty of type ObjectId is un... Closed

 Description   

Out of scope for PP1

EF supports "shadow properties" which allow you to specify parts of the EF metadata that round-trip but are not mapped to a POCO property.

With us relying on the V3 provider which is POCO property based we can't currently pass these through (although we could materialize them due to the BsonDocument serializer).

This isn't so much of a problem for us vs Cosmos etc. as we just updated the changed properties and do not replace the entire document so fields are not lost.

I recommend we indicate in the docs these are not supported and then monitor customer feedback with an eye to potentially adding some capability to the V3 provider that could enable this. e.g. Where(b => Doc.Field<int>("shadow") == 1)


Generated at Thu Feb 08 08:26:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.