Method AddFieldsToDocument
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Search.Definitions
- Assembly
- MongoDB.EntityFrameworkCore.dll
AddFieldsToDocument(BsonDocument)
Goes through each field definition and adds an entry for it to the given document.
protected void AddFieldsToDocument(BsonDocument fieldsDocument)
Parameters
fieldsDocumentBsonDocumentThe document to which fields should be added.