Constructor MongoGridFS
MongoGridFS(MongoDatabase)
Initializes a new instance of the MongoGridFS class.
[Obsolete("Use a different constructor instead.")]
public MongoGridFS(MongoDatabase database)
Parameters
database
MongoDatabaseThe database containing the GridFS collections.
MongoGridFS(MongoDatabase, MongoGridFSSettings)
Initializes a new instance of the MongoGridFS class.
[Obsolete("Use a different constructor instead.")]
public MongoGridFS(MongoDatabase database, MongoGridFSSettings settings)
Parameters
database
MongoDatabaseThe database containing the GridFS collections.
settings
MongoGridFSSettingsThe GridFS settings.
MongoGridFS(MongoServer, string, MongoGridFSSettings)
Initializes a new instance of the MongoGridFS class.
public MongoGridFS(MongoServer server, string databaseName, MongoGridFSSettings settings)
Parameters
server
MongoServerThe server.
databaseName
stringThe name of the database.
settings
MongoGridFSSettingsThe settings.