Table of Contents

Method WithReadConcern

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

WithReadConcern(ReadConcern)

Returns a new IMongoDatabase instance with a different read concern setting.

IMongoDatabase WithReadConcern(ReadConcern readConcern)

Parameters

readConcern ReadConcern

The read concern.

Returns

IMongoDatabase

A new IMongoDatabase instance with a different read concern setting.