GridFSBucket Class (original) (raw)
Name
Description
Delete(TFileId, CancellationToken)
Deletes a file from GridFS.
(Inherited from GridFSBucketTFileId.)
Delete(BsonValue, CancellationToken)
Deletes a file from GridFS.
DeleteAsync(TFileId, CancellationToken)
Deletes a file from GridFS.
(Inherited from GridFSBucketTFileId.)
DeleteAsync(BsonValue, CancellationToken)
Deletes a file from GridFS.
DownloadAsBytes(TFileId, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from GridFSBucketTFileId.)
DownloadAsBytes(BsonValue, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and returns it as a byte array.
DownloadAsBytesAsync(TFileId, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from GridFSBucketTFileId.)
DownloadAsBytesAsync(BsonValue, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and returns it as a byte array.
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from GridFSBucketTFileId.)
Downloads a file stored in GridFS and returns it as a byte array.
(Inherited from GridFSBucketTFileId.)
DownloadToStream(TFileId, Stream, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from GridFSBucketTFileId.)
DownloadToStream(BsonValue, Stream, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and writes the contents to a stream.
DownloadToStreamAsync(TFileId, Stream, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from GridFSBucketTFileId.)
DownloadToStreamAsync(BsonValue, Stream, GridFSDownloadOptions, CancellationToken)
Downloads a file stored in GridFS and writes the contents to a stream.
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from GridFSBucketTFileId.)
Downloads a file stored in GridFS and writes the contents to a stream.
(Inherited from GridFSBucketTFileId.)
Drops the files and chunks collections associated with this GridFS bucket.
(Inherited from GridFSBucketTFileId.)
Drops the files and chunks collections associated with this GridFS bucket.
(Inherited from GridFSBucketTFileId.)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Find(FilterDefinitionGridFSFileInfo, GridFSFindOptions, CancellationToken)
Finds matching entries from the files collection.
Find(FilterDefinitionGridFSFileInfoTFileId, GridFSFindOptionsTFileId, CancellationToken)
Finds matching entries from the files collection.
(Inherited from GridFSBucketTFileId.)
FindAsync(FilterDefinitionGridFSFileInfo, GridFSFindOptions, CancellationToken)
Finds matching entries from the files collection.
FindAsync(FilterDefinitionGridFSFileInfoTFileId, GridFSFindOptionsTFileId, CancellationToken)
Finds matching entries from the files collection.
(Inherited from GridFSBucketTFileId.)
Serves as the default hash function.
(Inherited from Object.)
Gets the Type of the current instance.
(Inherited from Object.)
Creates a shallow copy of the current Object.
(Inherited from Object.)
OpenDownloadStream(TFileId, GridFSDownloadOptions, CancellationToken)
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from GridFSBucketTFileId.)
OpenDownloadStream(BsonValue, GridFSDownloadOptions, CancellationToken)
Opens a Stream that can be used by the application to read data from a GridFS file.
OpenDownloadStreamAsync(TFileId, GridFSDownloadOptions, CancellationToken)
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from GridFSBucketTFileId.)
OpenDownloadStreamAsync(BsonValue, GridFSDownloadOptions, CancellationToken)
Opens a Stream that can be used by the application to read data from a GridFS file.
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from GridFSBucketTFileId.)
Opens a Stream that can be used by the application to read data from a GridFS file.
(Inherited from GridFSBucketTFileId.)
OpenUploadStream(String, GridFSUploadOptions, CancellationToken)
Opens a Stream that can be used by the application to write data to a GridFS file.
OpenUploadStream(TFileId, String, GridFSUploadOptions, CancellationToken)
Opens a Stream that can be used by the application to write data to a GridFS file.
(Inherited from GridFSBucketTFileId.)
OpenUploadStreamAsync(String, GridFSUploadOptions, CancellationToken)
Opens a Stream that can be used by the application to write data to a GridFS file.
OpenUploadStreamAsync(TFileId, String, GridFSUploadOptions, CancellationToken)
Opens a Stream that can be used by the application to write data to a GridFS file.
(Inherited from GridFSBucketTFileId.)
Rename(TFileId, String, CancellationToken)
Renames a GridFS file.
(Inherited from GridFSBucketTFileId.)
Rename(BsonValue, String, CancellationToken)
Renames a GridFS file.
RenameAsync(TFileId, String, CancellationToken)
Renames a GridFS file.
(Inherited from GridFSBucketTFileId.)
RenameAsync(BsonValue, String, CancellationToken)
Renames a GridFS file.
Returns a string that represents the current object.
(Inherited from Object.)
UploadFromBytes(String, Byte, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
UploadFromBytes(TFileId, String, Byte, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from GridFSBucketTFileId.)
UploadFromBytesAsync(String, Byte, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
UploadFromBytesAsync(TFileId, String, Byte, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from GridFSBucketTFileId.)
UploadFromStream(String, Stream, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
UploadFromStream(TFileId, String, Stream, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from GridFSBucketTFileId.)
UploadFromStreamAsync(String, Stream, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
UploadFromStreamAsync(TFileId, String, Stream, GridFSUploadOptions, CancellationToken)
Uploads a file (or a new revision of a file) to GridFS.
(Inherited from GridFSBucketTFileId.)