Method WithReadConcern
WithReadConcern(ReadConcern)
Returns a new IMongoCollection instance with a different read concern setting.
IMongoCollection<TDocument> WithReadConcern(ReadConcern readConcern)
Parameters
readConcern
ReadConcernThe read concern.
Returns
- IMongoCollection<TDocument>
A new IMongoCollection instance with a different read concern setting.