Constructor MongoCollection
MongoCollection(MongoDatabase, string, MongoCollectionSettings)
Protected constructor for abstract base class.
protected MongoCollection(MongoDatabase database, string name, MongoCollectionSettings settings)
Parameters
database
MongoDatabaseThe database that contains this collection.
name
stringThe name of the collection.
settings
MongoCollectionSettingsThe settings to use to access this collection.