Table of Contents

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

fieldsDocument BsonDocument

The document to which fields should be added.