When I am using the Mongo with Entity Framework.
I am getting below error
Property ‘User.LastLogin’ is annotated with unsupported attribute ‘BsonIgnoreIfNullAttribute’.
Skip to main content
Hi, @Rajesh_Chanchalfas,
Welcome to the MongoDB Community Forums. I understand that you have encountered an error Property '<<Class.Property>>' is annotated with unsupported attribute
. We have implemented support for BSON attributes in our EFCore Provider that map to equivalent EFCore semantics. Unfortunately EFCore does not support all semantics provided by the .NET/C# Driver. One of those is [BsonIgnoreIfNull]
. The current release (8.0.3) supports all BSON attributes noted in “first round” and “second round” of EF-96. EF-96 also contains a list of BSON attributes that are not supported by EFCore.
Sincerely,
James
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
VSCode Plugin displaying Int64 values as Doubles | 1 | 487 | May 2024 |
MongoDB Compass export to csv of Unicode string | 0 | 321 | Jul 2024 |
Mongod won’t load Atlas snapshot due to version incompatibility despite being on same feature version | 0 | 274 | Jul 2024 |
ongoDB Query Unwind issue | 1 | 46 | Oct 2024 |
Darshan Hiranandani : Can MongoDB Discard and Delete Batches After Processing with itcount()? | 0 | 31 | Jan 12 |