Method WithReadConcern
WithReadConcern(ReadConcern)
Returns a new MongoCollection instance with a different read concern setting.
public virtual MongoCollection<TDefaultDocument> WithReadConcern(ReadConcern readConcern)
Parameters
readConcern
ReadConcernThe read concern.
Returns
- MongoCollection<TDefaultDocument>
A new MongoCollection instance with a different read concern setting.