MongoGridFS Class (original) (raw)

Name

Description

Public method

AppendText

Appends UTF-8 encoded text to an existing GridFS file.

Public method

CopyTo(String, String)

Copies a GridFS file.

Public method

CopyTo(String, String, MongoGridFSCreateOptions)

Copies a GridFS file.

Public method

Create(String)

Creates or overwrites a GridFS file.

Public method

Create(String, MongoGridFSCreateOptions)

Creates or overwrites a GridFS file.

Public method

CreateText(String)

Creates or opens a GridFS file for writing UTF-8 encoded text.

Public method

CreateText(String, MongoGridFSCreateOptions)

Creates or opens a GridFS file for writing UTF-8 encoded text.

Public method

Delete(String)

Deletes all versions of a GridFS file.

Public method

Delete(IMongoQuery)

Deletes GridFS files.

Public method

DeleteById

Deletes a GridFS file.

Public method

Download(String)

Downloads the most recent version of a GridFS file.

Public method

Download(Stream, MongoGridFSFileInfo)

Downloads a GridFS file.

Public method

Download(Stream, IMongoQuery)

Downloads the most recent version of a GridFS file.

Public method

Download(Stream, String)

Downloads the most recent version of a GridFS file.

Public method

Download(String, MongoGridFSFileInfo)

Downloads a GridFS file.

Public method

Download(String, IMongoQuery)

Downloads the most recent version of a GridFS file.

Public method

Download(String, Int32)

Downloads a specific version of a GridFS file.

Public method

Download(String, String)

Downloads the most recent version of a GridFS file.

Public method

Download(Stream, IMongoQuery, Int32)

Downloads a specific version of a GridFS file.

Public method

Download(Stream, String, Int32)

Downloads a specific version of a GridFS file.

Public method

Download(String, IMongoQuery, Int32)

Downloads a specific version of a GridFS file.

Public method

Download(String, String, Int32)

Downloads a specific version of a GridFS file.

Public method

EnsureIndexes

Ensures that the proper indexes for GridFS exist (only creates the new indexes if there are fewer than 1000 GridFS files).

Public method

EnsureIndexes(Int32)

Ensures that the proper indexes for GridFS exist.

Public method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)

Public method

Exists(String)

Tests whether a GridFS file exists.

Public method

Exists(IMongoQuery)

Tests whether a GridFS file exists.

Public method

ExistsById

Tests whether a GridFS file exists.

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

Find(String)

Finds matching GridFS files.

Public method

Find(IMongoQuery)

Finds matching GridFS files.

Public method

FindAll

Finds all GridFS files.

Public method

FindOne(String)

Finds the most recent version of a GridFS file.

Public method

FindOne(IMongoQuery)

Finds the most recent version of a GridFS file.

Public method

FindOne(String, Int32)

Finds a specific version of a GridFS file.

Public method

FindOne(IMongoQuery, Int32)

Finds a specific version of a GridFS file.

Public method

FindOneById

Finds a GridFS file.

Public method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

MoveTo

Moves the most recent version of a GridFS file.

Public method

Open(String, FileMode)

Opens a GridFS file with the specified mode.

Public method

Open(String, FileMode, FileAccess)

Opens a GridFS file with the specified mode and access.

Public method

Open(String, FileMode, FileAccess, MongoGridFSCreateOptions)

Opens a GridFS file with the specified mode, access and create options.

Public method

OpenRead

Opens an existing GridFS file for reading.

Public method

OpenText

Opens an existing UTF-8 encoded text GridFS file for reading.

Public method

OpenWrite(String)

Opens an existing GridFS file for writing.

Public method

OpenWrite(String, MongoGridFSCreateOptions)

Opens an existing GridFS file for writing.

Public method

SetAliases

Sets the aliases for an existing GridFS file.

Public method

SetContentType

Sets the content type for an existing GridFS file.

Public method

SetMetadata

Sets the metadata for an existing GridFS file.

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

Public method

Upload(String)

Uploads a GridFS file.

Public method

Upload(Stream, String)

Uploads a GridFS file.

Public method

Upload(String, String)

Uploads a GridFS file.

Public method

Upload(Stream, String, MongoGridFSCreateOptions)

Uploads a GridFS file.