BsonIgnore on MongODM #59
Answered
by
tmm360
paring-chan
asked this question in
Q&A
-
I'm adding additional properties that should not be included in the database. But I don't know how to exclude them. |
Beta Was this translation helpful? Give feedback.
Answered by
tmm360
Oct 8, 2022
Replies: 1 comment 1 reply
-
Hi @pikokr, currently model mapping is based on official MongoDB driver's |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
paring-chan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @pikokr, currently model mapping is based on official MongoDB driver's
BsonClassMap
https://mongodb.github.io/mongo-csharp-driver/2.17/reference/bson/mapping/.It will change with next major, but I still don't have an ETA.
If you still have issues, a code snippet could help.