Method WithWriteConcern
WithWriteConcern(WriteConcern)
Returns a new IMongoDatabase instance with a different write concern setting.
Parameters
writeConcern
WriteConcern The write concern.
Returns
- IMongo
Database A new IMongoDatabase instance with a different write concern setting.