Method WithWriteConcern
WithWriteConcern(WriteConcern)
Returns a new MongoDatabase instance with a different write concern setting.
public virtual MongoDatabase WithWriteConcern(WriteConcern writeConcern)
Parameters
writeConcern
WriteConcernThe write concern.
Returns
- MongoDatabase
A new MongoDatabase instance with a different write concern setting.