Constructor MongoGridFSSettings
MongoGridFSSettings()
Initializes a new instance of the MongoGridFSSettings class.
public MongoGridFSSettings()
MongoGridFSSettings(MongoDatabase)
Initializes a new instance of the MongoGridFSSettings class.
[Obsolete("Use new MongoGridFSSettings() instead.")]
public MongoGridFSSettings(MongoDatabase database)
Parameters
database
MongoDatabaseThe database from which to inherit some of the settings.
MongoGridFSSettings(int, string, WriteConcern)
Initializes a new instance of the MongoGridFSSettings class.
[Obsolete("Use new MongoGridFSSettings() instead.")]
public MongoGridFSSettings(int chunkSize, string root, WriteConcern writeConcern)
Parameters
chunkSize
intThe chunk size.
root
stringThe root collection name.
writeConcern
WriteConcernThe write concern.