MongoDB C# 3.12
Pin stored field names
DLNick Cosentino (Dev Leader)
5 d ago
MongoDB BSON Mapping in C#: Explicit Names, Records and ID Types
A guide to how the MongoDB C# driver maps objects to BSON documents. It covers explicit element names, creator maps for immutable records, choosing the BSON _id type, and ignoring extra fields. It also argues that compatibility should be checked against stored fixtures, not only a fresh round trip.