Table of Contents

Method SaveChanges

Namespace
MongoDB.EntityFrameworkCore.Storage
Assembly
MongoDB.EntityFrameworkCore.dll

SaveChanges(IList<IUpdateEntry>)

Save all the changes detected in the entities collection to the underlying MongoDB database.

public override int SaveChanges(IList<IUpdateEntry> entries)

Parameters

entries IList<IUpdateEntry>

A list of IUpdateEntry indicating which changes to process.

Returns

int

Number of documents affected during saving changes.