Constructor GridFSBucket

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.GridFS

Assembly

MongoDB.Driver.dll

GridFSBucket(IMongoDatabase, GridFSBucketOptions)

Initializes a new instance of the GridFSBucket class.

public GridFSBucket(IMongoDatabase database, GridFSBucketOptions options = null)

Parameters

database IMongoDatabase

The database.

options GridFSBucketOptions

The options.