Interface IGridFSBucket
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Represents a GridFS system bucket.
public interface IGridFSBucket : IGridFSBucket<ObjectId>
Inherited Members
Methods
Find(FilterDefinition, GridFSFindOptions, CancellationToken)
Finds matching entries from the files collection.
FindAsync(FilterDefinition, GridFSFindOptions, CancellationToken)
Finds matching entries from the files collection.
OpenUploadStream(string, GridFSUploadOptions, CancellationToken)
Opens a Stream that can be used by the application to write data to a GridFS file.
OpenUploadStreamAsync(string, GridFSUploadOptions, CancellationToken)
Opens a Stream that can be used by the application to write data to a GridFS file.
UploadFromBytes(string, byte[], GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
UploadFromBytesAsync(string, byte[], GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
UploadFromStream(string, Stream, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
UploadFromStreamAsync(string, Stream, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.