Table of Contents

Method WithReadConcern

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

WithReadConcern(ReadConcern)

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

public virtual MongoDatabase WithReadConcern(ReadConcern readConcern)

Parameters

readConcern ReadConcern

The read concern.

Returns

MongoDatabase

A new MongoDatabase instance with a different read concern setting.