MongoDB.Driver
Default values for various Mongo settings.
Gets or sets whether the driver should assign a value to empty Ids on Insert.
Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize).
Gets or sets the connect timeout.
Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation).
Gets or sets the max connection idle time.
Gets or sets the max connection life time.
Gets or sets the max connection pool size.
Gets or sets the max document size (this is an alias for BsonDefaults.MaxDocumentSize).
Gets or sets the max message length.
Gets or sets the min connection pool size.
Gets or sets the safe mode.
Gets or sets the socket timeout.
Gets or sets the TCP receive buffer size.
Gets or sets the TCP send buffer size.
Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize, see also WaitQueueSize).
Gets or sets the wait queue size (see also WaitQueueMultiple).
Gets or sets the wait queue timeout.
Represents a LINQ query that has been translated to an equivalent MongoDB Find query.
Represents a LINQ query that has been translated to a MongoDB query.
Initializes a new instance of the MongoLinqQuery class.
The collection being queried.
The document type being queried.
Executes a query that returns a single result (overridden by subclasses).
The result of executing the query.
Gets the collection being queried.
Get the document type being queried.
Initializes a new instance of the MongoLinqFindQuery class.
The collection being queried.
The document type.
Creates an IMongoQuery from the where clause (returns null if no where clause was specified).
An IMongoQuery.
Executes the translated Find query.
The result of executing the translated Find query.
Translates a LINQ query expression tree.
The LINQ query expression tree.
Gets a list of Expressions that defines the sort order (or null if not specified).
Gets the Expression that defines the projection (or null if not specified).
Gets the Expression that defines how many documents to skip (or null if not specified).
Gets the Expression that defines how many documents to take (or null if not specified);
Gets the LambdaExpression that defines the where clause (or null if not specified).
Represents information about a GridFS file (patterned after .NET's FileInfo class).
Initializes a new instance of the GridFSFileInfo class.
The GridFS file system that contains the GridFS file.
The remote file name.
Initializes a new instance of the GridFSFileInfo class.
The GridFS file system that contains the GridFS file.
The remote file name.
The chunk size.
Initializes a new instance of the GridFSFileInfo class.
The GridFS file system that contains the GridFS file.
The remote file name.
The create options.
Determines whether two specified MongoGridFSFileInfo objects have different values.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is different from the value of rhs; otherwise, false.
Determines whether two specified MongoGridFSFileInfo objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Determines whether two specified MongoGridFSFileInfo objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Appends UTF-8 encoded text to an existing GridFS file.
A StreamWriter.
Copies a GridFS file.
The destination file name.
The file info of the new GridFS file.
Copies a GridFS file.
The destination file name.
The create options.
The file info of the new GridFS file.
Creates or overwrites a GridFS file.
A stream.
Creates or opens a GridFS file for writing UTF-8 encoded text.
A stream.
Deletes a GridFS file.
Determines whether this instance and another specified MongoGridFSFileInfo object have the same value.
The MongoGridFSFileInfo object to compare to this instance.
True if the value of the rhs parameter is the same as this instance; otherwise, false.
Determines whether this instance and a specified object, which must also be a MongoGridFSFileInfo object, have the same value.
The MongoGridFSFileInfo object to compare to this instance.
True if obj is a MongoGridFSFileInfo object and its value is the same as this instance; otherwise, false.
Returns the hash code for this MongoGridFSFileInfo object.
A 32-bit signed integer hash code.
Moves the most recent version of a GridFS file.
The destination file name.
Opens a GridFS file with the specified mode.
The mode.
A stream.
Opens a GridFS file with the specified mode and access.
The mode.
The access.
A stream.
Opens an existing GridFS file for reading.
A stream.
Opens an existing UTF-8 encoded text GridFS file for reading.
A stream reader.
Opens an existing GridFS file for writing.
A stream.
Refreshes the GridFS file info from the server.
Gets the aliases.
Gets the chunk size.
Gets the content type.
Gets whether the GridFS file exists.
Gets the GridFS file system that contains this GridFS file.
Gets the GridFS file Id.
Gets the file lenth.
Gets the MD5 hash of the file contents.
Gets the metadata.
Gets the remote file name.
Gets the upload date.
Represents a GridFS file system.
Initializes a new instance of the MongoGridFS class.
The database containing the GridFS collections.
Initializes a new instance of the MongoGridFS class.
The database containing the GridFS collections.
The GridFS settings.
Appends UTF-8 encoded text to an existing GridFS file.
The remote file name.
A StreamWriter.
Copies a GridFS file.
The source file name.
The destination file name.
The file info of the new GridFS file.
Copies a GridFS file.
The source file name.
The destination file name.
The create options.
The file info of the new GridFS file.
Creates or overwrites a GridFS file.
The remote file name.
A stream.
Creates or overwrites a GridFS file.
The remote file name.
The create options.
A stream.
Creates or opens a GridFS file for writing UTF-8 encoded text.
The remote file name.
A stream writer.
Creates or opens a GridFS file for writing UTF-8 encoded text.
The remote file name.
The create options.
A stream writer.
Deletes GridFS files.
A query that specifies the GridFS files to delete.
Deletes all versions of a GridFS file.
The remote file name.
Deletes a GridFS file.
The GridFS file Id.
Downloads the most recent version of a GridFS file.
The destination stream.
The GridFS file.
Downloads a specific version of a GridFS file.
The destination stream.
The GridFS file.
The version to download.
Downloads a GridFS file.
The destination stream.
The GridFS file.
Downloads the most recent version of a GridFS file.
The destination stream.
The remote file name.
Downloads a specific version of a GridFS file.
The destination stream.
The remote file name.
The version to download.
Downloads the most recent version of a GridFS file.
The file name (same local and remote names).
Downloads a specific version of a GridFS file.
The file name (same local and remote names).
The version to download.
Downloads the most recent version of a GridFS file.
The local file name.
The GridFS file.
Downloads a specific version of a GridFS file.
The local file name.
The GridFS file.
The version to download.
Downloads a GridFS file.
The local file name.
The GridFS file.
Downloads the most recent version of a GridFS file.
The local file name.
The remote file name.
Downloads a specific version of a GridFS file.
The local file name.
The remote file name.
The version to download.
Ensures that the proper indexes for GridFS exist (only creates the new indexes if there are fewer than 1000 GridFS files).
Ensures that the proper indexes for GridFS exist.
Only create new indexes if there are fewer than this number of GridFS files).
Tests whether a GridFS file exists.
The GridFS file.
True if the GridFS file exists.
Tests whether a GridFS file exists.
The GridFS file.
True if the GridFS file exists.
Tests whether a GridFS file exists.
The GridFS file.
True if the GridFS file exists.
Finds matching GridFS files.
A query.
The matching GridFS files.
Finds matching GridFS files.
The remote file name.
The matching GridFS files.
Finds all GridFS files.
The matching GridFS files.
Finds the most recent version of a GridFS file.
The GridFS file.
The matching GridFS file.
Finds a specific version of a GridFS file.
The GridFS file.
The version to find (1 is oldest, -1 is newest, 0 is no sort).
The matching GridFS file.
Finds the most recent version of a GridFS file.
The remote file name.
The matching GridFS file.
Finds a specific version of a GridFS file.
The remote file name.
The version to find.
The matching GridFS file.
Finds a GridFS file.
The GridFS file Id.
The GridFS file.
Moves the most recent version of a GridFS file.
The source file name.
The destination file name.
Opens a GridFS file with the specified mode.
The remote file name.
The mode.
A stream.
Opens a GridFS file with the specified mode and access.
The remote file name.
The mode.
The access.
A stream.
Opens a GridFS file with the specified mode, access and create options.
The remote file name.
The mode.
The access.
The create options.
A stream.
Opens an existing GridFS file for reading.
The remote file name.
A stream.
Opens an existing UTF-8 encoded text GridFS file for reading.
The remote file name.
A stream reader.
Opens an existing GridFS file for writing.
The remote file name.
A stream.
Opens an existing GridFS file for writing.
The remote file name.
The create options.
A stream.
Sets the aliases for an existing GridFS file.
The GridFS file.
The aliases.
Sets the content type for an existing GridFS file.
The GridFS file.
The content type.
Sets the metadata for an existing GridFS file.
The GridFS file.
The metadata.
Uploads a GridFS file.
The source stream.
The remote file name.
The file info of the new GridFS file.
Uploads a GridFS file.
The source stream.
The remote file name.
The create options.
The file info of the new GridFS file.
Uploads a GridFS file.
The file name (same local and remote names).
The file info of the new GridFS file.
Uploads a GridFS file.
The local file name.
The remote file name.
The file info of the new GridFS file.
Gets the chunks collection.
Gets the database containing the GridFS collections.
Gets the files collection.
Gets the GridFS settings.
A class that replaces all occurences of one parameter with a different parameter.
An abstract base class for an Expression visitor.
Initializes a new instance of the ExpressionVisitor class.
Visits an Expression.
The Expression.
The Expression (posibly modified).
Visits an Expression list.
The Expression list.
The Expression list (possibly modified).
Visits a BinaryExpression.
The BinaryExpression.
The BinaryExpression (possibly modified).
Visits a ConditionalExpression.
The ConditionalExpression.
The ConditionalExpression (possibly modified).
Visits a ConstantExpression.
The ConstantExpression.
The ConstantExpression (possibly modified).
Visits an ElementInit.
The ElementInit.
The ElementInit (possibly modified).
Visits an ElementInit list.
The ElementInit list.
The ElementInit list (possibly modified).
Visits an InvocationExpression.
The InvocationExpression.
The InvocationExpression (possibly modified).
Visits a LambdaExpression.
The LambdaExpression.
The LambdaExpression (possibly modified).
Visits a ListInitExpression.
The ListInitExpression.
The ListInitExpression (possibly modified).
Visits a MemberExpression.
The MemberExpression.
The MemberExpression (possibly modified).
Visits a MemberAssignment.
The MemberAssignment.
The MemberAssignment (possibly modified).
Visits a MemberBinding.
The MemberBinding.
The MemberBinding (possibly modified).
Visits a MemberBinding list.
The MemberBinding list.
The MemberBinding list (possibly modified).
Visits a MemberInitExpression.
The MemberInitExpression.
The MemberInitExpression (possibly modified).
Visits a MemberListBinding.
The MemberListBinding.
The MemberListBinding (possibly modified).
Visits a MemberMemberBinding.
The MemberMemberBinding.
The MemberMemberBinding (possibly modified).
Visits a MethodCallExpression.
The MethodCallExpression.
The MethodCallExpression (possibly modified).
Visits a NewExpression.
The NewExpression.
The NewExpression (possibly modified).
Visits a NewArrayExpression.
The NewArrayExpression.
The NewArrayExpression (possibly modified).
Visits a ParameterExpression.
The ParameterExpression.
The ParameterExpression (possibly modified).
Visits a TypeBinaryExpression.
The TypeBinaryExpression.
The TypeBinaryExpression (possibly modified).
Visits a UnaryExpression.
The UnaryExpression.
The UnaryExpression (possibly modified).
Initializes a new instance of the ExpressionParameterReplacer class.
The parameter to be replaced.
The expression that replaces the parameter.
Replaces all occurences of one parameter with a different parameter.
The expression containing the parameter that should be replaced.
The from parameter.
The expression that replaces the parameter.
The expression with all occurrences of the parameter replaced.
Replaces the from parameter with the two parameter if it maches.
The node.
The parameter (replaced if it matched).
Represents a BSON document that can be used where an IMongoGeoNearOptions is expected.
A marker interface that represents geo search options (see GeoNearOptionsDocument and the GeoNearOptions builder).
Initializes a new instance of the GeoNearOptionsDocument class.
Initializes a new instance of the GeoNearOptionsDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the GeoNearOptionsDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GeoNearOptionsDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the GeoNearOptionsDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the GeoNearOptionsDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents a BSON document that can be used where an IMongoGeoHaystackSearchOptions is expected.
A marker interface that represents geo haystack search options (see GeoSearchHaystackOptionsDocument and the GeoHaystackSearchOptions builder).
Initializes a new instance of the GeoHaystackSearchOptionsDocument class.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the GeoHaystackSearchOptionsDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents the options to use for an Update operation.
Initializes a new instance of the MongoUpdateOptions class.
Initializes a new instance of the MongoUpdateOptions class.
The collection from which to get default settings for the options.
Gets or sets whether to check element names before proceeding with the Update.
Gets or sets the update flags.
Gets or sets the SafeMode to use for the Update.
The settings used to access a collection (an abstract class, see MongoCollectionSettings{TDefaultDocument}).
Initializes a new instance of the MongoCollectionSettings class.
The database that contains the collection (some collection settings will be inherited from the database settings).
The name of the collection.
The default document type for the collection.
Initializes a new instance of the MongoCollectionSettings class.
The name of the collection.
Whether to automatically assign a value to an empty document Id on insert.
The default document type for the collection.
The GUID representation to use with this collection.
The SafeMode to use with this collection.
Whether to route reads to secondaries for this collection.
Creates a clone of the settings.
A clone of the settings.
Compares two MongoCollectionSettings instances.
The other instance.
True if the two instances are equal.
Freezes the settings.
The frozen settings.
Returns a frozen copy of the settings.
A frozen copy of the settings.
Gets the hash code.
The hash code.
Returns a string representation of the settings.
A string representation of the settings.
Gets or sets whether the driver should assign Id values when missing.
Gets the name of the collection.
Gets the default document type of the collection.
Gets or sets the representation used for Guids.
Gets whether the settings have been frozen to prevent further changes.
Gets or sets the SafeMode to use.
Gets or sets whether queries should be sent to secondary servers.
Settings used to access a collection.
The default document type of the collection.
Creates a new instance of MongoCollectionSettings.
The database to inherit settings from.
The name of the collection.
Creates a new instance of MongoCollectionSettings.
The name of the collection.
Whether the driver should assign the Id values if necessary.
The representation for Guids.
The safe mode to use.
Whether queries should be sent to secondary servers.
Creates a clone of the settings.
A clone of the settings.
Flags used with queries (see the SetQueryFlags method of MongoCursor).
No flags.
This cursor should be tailable.
It's OK for the query to be handled by a secondary server.
Tell the server not to let the cursor timeout.
Tell the server to wait for data to become available before returning (only used with TailableCursor).
Tell the server to send all the data at once (in multiple messages if necessary) without waiting for GetMore messages.
Allow partial results in a sharded system if some of the shards are down.
A static class with methods to partially evaluate an Expression.
Performs evaluation and replacement of independent sub-trees.
The root of the expression tree.
A function that decides whether a given expression node can be part of the local function.
A new tree with sub-trees evaluated and replaced.
Performs evaluation and replacement of independent sub-trees
The root of the expression tree.
A new tree with sub-trees evaluated and replaced.
Evaluates and replaces sub-trees when first candidate is reached (top-down)
Represents a cache of the names of indexes that are known to exist on a given server.
Initializes a new instance of the IndexCache class.
Adds the name of an index to the cache.
The collection that contains the index.
The name of the index.
Tests whether the cache contains the name of an index.
The collection that contains the index.
The name of the index.
True if the cache contains the named index.
Removes the name of an index from the cache.
The collection that contains the index.
The name of the index.
Resets the cache.
Resets part of the cache by removing all indexes for a collection.
The collection.
Resets part of the cache by removing all indexes for a database.
The database.
Resets part of the cache by removing all indexes for a database.
The name of the database.
Resets part of the cache by removing all indexes for a collection.
The name of the database containing the collection.
The name of the collection.
Represents options used when creating a GridFS file.
Initializes a new instance of the MongoGridFSCreateOptions class.
Gets or sets the aliases.
Gets or sets the chunk size.
Gets or sets the content type.
Gets or sets the file Id.
Gets or sets the metadata.
Gets or sets the upload date.
Represents a wrapped object that can be used where an IMongoQuery is expected (the wrapped object is expected to serialize properly).
Abstract base class for wrapper classes.
Initializes a new instance of the BaseWrapper class.
The wrapped object.
Initializes a new instance of the BaseWrapper class.
The nominal type of the wrapped object.
The wrapped object.
Deserialize is an invalid operation for wrapper classes.
Not applicable.
Not applicable.
Not applicable.
Not applicable.
GetDocumentId is an invalid operation for wrapper classes.
Not applicable.
Not applicable.
Not applicable.
Not applicable.
Serializes a wrapped object to a BsonWriter.
The writer.
The nominal type (ignored).
The serialization options.
SetDocumentId is an invalid operation for wrapper classes.
Not applicable.
Not applicable.
A marker interface that represents a query (see QueryDocument and the Query builder).
Initializes a new instance of the QueryWrapper class.
The wrapped object.
Creates a new instance of the QueryWrapper class.
The wrapped object.
A new instance of QueryWrapper or null.
Represents a wrapped object that can be used where an IMongoIndexOptions is expected (the wrapped object is expected to serialize properly).
A marker interface that represents options for creating an index (see IndexOptionsDocument and the IndexOptions builder).
Initializes a new instance of the IndexOptionsWrapper class.
The wrapped object.
Creates a new instance of the IndexOptionsWrapper class.
The wrapped object.
A new instance of IndexOptionsWrapper or null.
A builder for creating queries.
Tests that the named array element contains all of the values (see $all).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that all the subqueries are true (see $and in newer versions of the server).
A list of subqueries.
A query.
Tests that at least one item of the named array element matches a query (see $elemMatch).
The name of the element to test.
The query to match elements with.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to some value.
The name of the element to test.
The value to compare to.
A query.
Tests that an element of that name does or does not exist (see $exists).
The name of the element to test.
Whether to test for the existence or absence of an element.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than some value (see $gt).
The name of the element to test.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than or equal to some value (see $gte).
The name of the element to test.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than some value (see $lt).
The name of the element to test.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than or equal to some value (see $lte).
The name of the element to test.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element matches a regular expression (see $regex).
The name of the element to test.
The regular expression to match against.
A query.
Tests that the modulus of the value of the named element matches some value (see $mod).
The name of the element to test.
The modulus.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to some value (see $ne).
The name of the element to test.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is near some location (see $near).
The name of the element to test.
The x value of the origin.
The y value of the origin.
The builder (so method calls can be chained).
Tests that the value of the named element is near some location (see $near).
The name of the element to test.
The x value of the origin.
The y value of the origin.
The max distance for a document to be included in the results.
The builder (so method calls can be chained).
Tests that the value of the named element is near some location (see $near and $nearSphere).
The name of the element to test.
The x value of the origin.
The y value of the origin.
The max distance for a document to be included in the results.
Whether to do a spherical search.
The builder (so method calls can be chained).
Tests that none of the subqueries is true (see $nor).
The subqueries.
A query.
Tests that the value of the named element does not match any of the tests that follow (see $not).
The name of the element to test.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The name of the element to test.
The values to compare to.
The builder (so method calls can be chained).
Tests that at least one of the subqueries is true (see $or).
The subqueries.
A query.
Tests that the size of the named array is equal to some value (see $size).
The name of the element to test.
The size to compare to.
The builder (so method calls can be chained).
Tests that the type of the named element is equal to some type (see $type).
The name of the element to test.
The type to compare to.
The builder (so method calls can be chained).
Tests that a JavaScript expression is true (see $where).
The where clause.
A query.
Tests that the value of the named element is within a circle (see $within and $center).
The name of the element to test.
The x coordinate of the origin.
The y coordinate of the origin.
The radius of the circle.
The builder (so method calls can be chained).
Tests that the value of the named element is within a circle (see $within and $center/$centerSphere).
The name of the element to test.
The x coordinate of the origin.
The y coordinate of the origin.
The radius of the circle.
Whether to do a spherical search.
The builder (so method calls can be chained).
Tests that the value of the named element is within a polygon (see $within and $polygon).
The name of the element to test.
An array of points that defines the polygon (the second dimension must be of length 2).
The builder (so method calls can be chained).
Tests that the value of the named element is within a rectangle (see $within and $box).
The name of the element to test.
The x coordinate of the lower left corner.
The y coordinate of the lower left corner.
The x coordinate of the upper right corner.
The y coordinate of the upper right corner.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoQuery.
A builder for creating queries.
Abstract base class for the builders.
Initializes a new instance of the BuilderBase class.
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Returns a string representation of the settings.
A string representation of the settings.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
A BSON document containing the query being built.
Initializes a new instance of the QueryBuilder class.
A document representing the query.
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
Gets the document containing the query being built.
A builder for creating queries.
Initializes a new instance of the QueryComplete class.
A document representing the query.
A builder for creating queries.
Initializes a new instance of the QueryConditionList class.
The name of the element to test.
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that at least one item of the named array element matches a query (see $elemMatch).
The query to match elements with.
The builder (so method calls can be chained).
Tests that an element of that name does or does not exist (see $exists).
Whether to test for the existence or absence of an element.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than some value (see $gt).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than or equal to some value (see $gte).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than some value (see $lt).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than or equal to some value (see $lte).
The value to compare to.
The builder (so method calls can be chained).
Tests that the modulus of the value of the named element matches some value (see $mod).
The modulus.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to some value (see $ne).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is near some location (see $near).
The x value of the origin.
The y value of the origin.
The builder (so method calls can be chained).
Tests that the value of the named element is near some location (see $near).
The x value of the origin.
The y value of the origin.
The max distance for a document to be included in the results.
The builder (so method calls can be chained).
Tests that the value of the named element is near some location (see $near and $nearSphere).
The x value of the origin.
The y value of the origin.
The max distance for a document to be included in the results.
Whether to do a spherical search.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the size of the named array is equal to some value (see $size).
The size of the array.
The builder (so method calls can be chained).
Tests that the type of the named element is equal to some type (see $type).
The type.
The builder (so method calls can be chained).
Tests that the value of the named element is within a circle (see $within and $center).
The x coordinate of the origin.
The y coordinate of the origin.
The radius of the circle.
The builder (so method calls can be chained).
Tests that the value of the named element is within a circle (see $within and $center/$centerSphere).
The x coordinate of the origin.
The y coordinate of the origin.
The radius of the circle.
Whether to do a spherical search.
The builder (so method calls can be chained).
Tests that the value of the named element is within a polygon (see $within and $polygon).
An array of points that defines the polygon (the second dimension must be of length 2).
The builder (so method calls can be chained).
Tests that the value of the named element is within a rectangle (see $within and $box).
The x coordinate of the lower left corner.
The y coordinate of the lower left corner.
The x coordinate of the upper right corner.
The y coordinate of the upper right corner.
The builder (so method calls can be chained).
A builder for creating queries.
Initializes a new instance of the QueryNot class.
The name of the element to test.
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that at least one item of the named array element matches a query (see $elemMatch).
The query to match elements with.
The builder (so method calls can be chained).
Tests that an element of that name does or does not exist (see $exists).
Whether to test for the existence or absence of an element.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than some value (see $gt).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than or equal to some value (see $gte).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than some value (see $lt).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than or equal to some value (see $lte).
The value to compare to.
The builder (so method calls can be chained).
Tests that the modulus of the value of the named element matches some value (see $mod).
The modulus.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to some value (see $ne).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element matches a regular expression (see $regex).
The regular expression to match against.
A query.
Tests that the size of the named array is equal to some value (see $size).
The size of the array.
The builder (so method calls can be chained).
Tests that the type of the named element is equal to some type (see $type).
The type.
The builder (so method calls can be chained).
A builder for creating queries.
Initializes a new instance of the QueryNotConditionList.
The name of the first element to test.
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that the named array element contains all of the values (see $all).
The values to compare to.
The builder (so method calls can be chained).
Tests that at least one item of the named array element matches a query (see $elemMatch).
The query to match elements with.
The builder (so method calls can be chained).
Tests that an element of that name does or does not exist (see $exists).
Whether to test for the existence or absence of an element.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than some value (see $gt).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is greater than or equal to some value (see $gte).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is equal to one of a list of values (see $in).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than some value (see $lt).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is less than or equal to some value (see $lte).
The value to compare to.
The builder (so method calls can be chained).
Tests that the modulus of the value of the named element matches some value (see $mod).
The modulus.
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to some value ($ne).
The value to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the value of the named element is not equal to any of a list of values (see $nin).
The values to compare to.
The builder (so method calls can be chained).
Tests that the size of the named array is equal to some value (see $size).
The size of the array.
The builder (so method calls can be chained).
Tests that the type of the named element is equal to some type (see $type).
The type.
The builder (so method calls can be chained).
Represents the result of GetIndexes.
Initializes a new instance of the GetIndexesResult class.
The raw documents containing the information about the indexes.
Gets the IndexInfo at the specified index.
The zero-based index of the IndexInfo to get.
An IndexInfo.
Gets the count of indexes.
Gets the raw BSON documents containing the information about the indexes.
Represents information about an index.
Creates a new instance of the IndexInfo class.
The BSON document that contains information about the index.
Gets whether the dups were dropped when the index was created.
Gets whether the index was created in the background.
Gets whether the index is sparse.
Gets whether the index is unique.
Gets the key of the index.
Gets the name of the index.
Gets the namespace of the collection that the index is for.
Gets the raw BSON document containing the index information.
Gets the version of the index.
Flags used with the Update method in MongoCollection.
No flags.
If document doesn't exist then do an Insert.
Update all matching documents (instead of just one).
Represents the result of a map/reduce command.
Represents the result of a command (there are also subclasses for various commands).
Initializes a new instance of the CommandResult class.
Initializes a new instance of the CommandResult class.
The command.
The response.
Initializes an existing instance of the CommandResult class.
The command.
The response.
Gets the command.
Gets the command name.
Gets the response.
Gets the error message (null if none).
Gets the Ok value from the response.
Initializes a new instance of the MapReduceResult class.
Gets the inline results as TDocuments.
The type of the documents.
The documents.
Gets the inline results as TDocuments.
The type of the documents.
The documents.
Gets the results (either inline or fetched from the output collection).
The documents.
Gets the results as TDocuments (either inline or fetched from the output collection).
The type of the documents.
The documents.
Gets the results as TDocuments (either inline or fetched from the output collection).
The type of the documents.
The documents.
Gets the output collection name (null if none).
Gets the output database name (null if none).
Gets the duration.
Gets the emit count.
Gets the output count.
Gets the inline results.
Gets the input count.
Represents a projection that deserializes BsonValues.
The type of the result objects.
Initializes a new instance of the DeserializationProjector class.
The enumerable object that supplies the source objects.
Serialization info for deserializing source objects into result objects.
Gets an enumerator for the result objects.
An enumerator for the result objects.
Represents a MongoDB GridFS exception.
Represents a MongoDB exception.
Initializes a new instance of the MongoException class.
The error message.
Initializes a new instance of the MongoException class.
The error message.
The inner exception.
Initializes a new instance of the MongoException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Initializes a new instance of the MongoGridFSException class.
The error message.
Initializes a new instance of the MongoGridFSException class.
The error message.
The inner exception.
Initializes a new instance of the MongoGridFSException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Represents a BSON document that can be used where an IMongoMapReduceOptions is expected.
A marker interface that represents options for a map/reduce operation (see MapReduceOptionsDocument and the MapReduceOptions builder).
Initializes a new instance of the MapReduceOptionsDocument class.
Initializes a new instance of the MapReduceOptionsDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the MapReduceOptionsDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the MapReduceOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the MapReduceOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the MapReduceOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the MapReduceOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the MapReduceOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the MapReduceOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the MapReduceOptionsDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the MapReduceOptionsDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the MapReduceOptionsDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents a BSON document that can be used where an IMongoCommand is expected.
Represents a BSON document that can be used where an IMongoQuery is expected.
Initializes a new instance of the QueryDocument class.
Initializes a new instance of the QueryDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the QueryDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the QueryDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the QueryDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the QueryDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the QueryDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
A marker interface that represents a command (see CommandDocument).
Initializes a new instance of the CommandDocument class.
Initializes a new instance of the CommandDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the CommandDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the CommandDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the CommandDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the CommandDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the CommandDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents a BSON document that can be used where an IMongoCollectionOptions is expected.
A marker interface that represents options for creating a collection (see CollectionOptionsDocument and the CollectionOptions builder).
Initializes a new instance of the CollectionOptionsDocument class.
Initializes a new instance of the CollectionOptionsDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the CollectionOptionsDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the CollectionOptionsDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the CollectionOptionsDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the CollectionOptionsDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
The settings used to access a MongoDB server.
Creates a new instance of MongoServerSettings. Usually you would use a connection string instead.
Creates a new instance of MongoServerSettings. Usually you would use a connection string instead.
The connection mode (Direct or ReplicaSet).
The connect timeout.
The credentials store.
The default credentials.
The representation for Guids.
Whether to use IPv6.
The max connection idle time.
The max connection life time.
The max connection pool size.
The min connection pool size.
The name of the replica set.
The safe mode.
The server addresses (normally one unless it is the seed list for connecting to a replica set).
Whether queries should be sent to secondary servers.
The socket timeout.
The wait queue size.
The wait queue timeout.
Creates a clone of the settings.
A clone of the settings.
Compares two MongoServerSettings instances.
The other instance.
True if the two instances are equal.
Freezes the settings.
The frozen settings.
Returns a frozen copy of the settings.
A frozen copy of the settings.
Gets credentials for a particular database.
The database name.
The credentials for that database (or null).
Gets the hash code.
The hash code.
Returns a string representation of the settings.
A string representation of the settings.
Gets the AddressFamily for the IPEndPoint (derived from the IPv6 setting).
Gets or sets the connection mode.
Gets or sets the connect timeout.
Gets or sets the credentials store.
Gets or sets the default credentials.
Gets or sets the representation to use for Guids.
Gets whether the settings have been frozen to prevent further changes.
Gets or sets whether to use IPv6.
Gets or sets the max connection idle time.
Gets or sets the max connection life time.
Gets or sets the max connection pool size.
Gets or sets the min connection pool size.
Gets or sets the name of the replica set.
Gets or sets the SafeMode to use.
Gets or sets the address of the server (see also Servers if using more than one address).
Gets or sets the list of server addresses (see also Server if using only one address).
Gets or sets whether queries should be sent to secondary servers.
Gets or sets the socket timeout.
Gets or sets the wait queue size.
Gets or sets the wait queue timeout.
Represents a credentials store that contains credentials for different databases.
Creates a new instance of the MongoCredentialsStore class.
Adds the credentials for a database to the store.
The database name.
The credentials.
Creates a clone of the credentials store.
A clone of the credentials store.
Compares this credentials store to another credentials store.
The other credentials store.
True if the two credentials stores are equal.
Compares this credentials store to another credentials store.
The other credentials store.
True if the two credentials stores are equal.
Freezes the credentials store.
The frozen credentials store.
Gets the hashcode for the credentials store.
The hashcode.
Returns a string representation of the credentials store.
A string representation of the credentials store.
Gets the credentials for a database.
The database name.
The credentials.
True if the store contained credentials for the database. Otherwise false.
A builder for creating update modifiers.
Adds a value to a named array element if the value is not already in the array (see $addToSet).
The name of the array element.
The value to add to the set.
The builder (so method calls can be chained).
Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The name of the array element.
The values to add to the set.
The builder (so method calls can be chained).
Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The name of the array element.
The values to add to the set.
The builder (so method calls can be chained).
Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The name of the array element.
The values to add to the set.
The builder (so method calls can be chained).
Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the set.
The builder (so method calls can be chained).
Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the set.
The builder (so method calls can be chained).
Adds a wrapped value to a named array element if the value is not already in the array (see $addToSet).
The type of wrapped value.
The name of the array element.
The wrapped value to add to the set.
The builder (so method calls can be chained).
Sets the named element to the bitwise and of its value with another value (see $bit with "and").
The name of the element to be modified.
The value to be and-ed with the current value.
The builder (so method calls can be chained).
Sets the named element to the bitwise and of its value with another value (see $bit with "and").
The name of the element to be modified.
The value to be and-ed with the current value.
The builder (so method calls can be chained).
Sets the named element to the bitwise or of its value with another value (see $bit with "or").
The name of the element to be modified.
The value to be or-ed with the current value.
The builder (so method calls can be chained).
Sets the named element to the bitwise or of its value with another value (see $bit with "or").
The name of the element to be modified.
The value to be or-ed with the current value.
The builder (so method calls can be chained).
Combines several UpdateBuilders into a single UpdateBuilder.
The UpdateBuilders to combine.
A combined UpdateBuilder.
Combines several UpdateBuilders into a single UpdateBuilder.
The UpdateBuilders to combine.
A combined UpdateBuilder.
Increments the named element by a value (see $inc).
The name of the element to be incremented.
The value to increment by.
The builder (so method calls can be chained).
Increments the named element by a value (see $inc).
The name of the element to be incremented.
The value to increment by.
The builder (so method calls can be chained).
Increments the named element by a value (see $inc).
The name of the element to be incremented.
The value to increment by.
The builder (so method calls can be chained).
Removes the first value from the named array element (see $pop).
The name of the array element.
The builder (so method calls can be chained).
Removes the last value from the named array element (see $pop).
The name of the array element.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to some value (see $pull).
The name of the array element.
The value to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that match some query (see $pull).
The name of the array element.
A query that specifies which elements to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
The name of the array element.
The values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
The name of the array element.
The values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
The name of the array element.
The values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll).
The type of wrapped values.
The name of the array element.
The wrapped values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll).
The type of wrapped values.
The name of the array element.
The wrapped values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to some wrapped value (see $pull).
The type of wrapped value.
The name of the array element.
The wrapped value to remove.
The builder (so method calls can be chained).
Adds a value to the end of the named array element (see $push).
The name of the array element.
The value to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of values to the end of the named array element (see $pushAll).
The name of the array element.
The values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of values to the end of the named array element (see $pushAll).
The name of the array element.
The values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of values to the end of the named array element (see $pushAll).
The name of the array element.
The values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of wrapped values to the end of the named array element (see $pushAll).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of wrapped values to the end of the named array element (see $pushAll).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the end of the array.
The builder (so method calls can be chained).
Adds a wrapped value to the end of the named array element (see $push).
The type of wrapped value.
The name of the array element.
The wrapped value to add to the end of the array.
The builder (so method calls can be chained).
Renames an element (see $rename).
The name of the element to be renamed.
The new name of the element.
An UpdateDocuemnt.
Replaces the entire document with a new document (the _id must remain the same).
The nominal type of the replacement document
The replacement document.
An UpdateWrapper.
Replaces the entire document with a new document (the _id must remain the same).
The nominal type of the replacement document
The replacement document.
An UpdateWrapper.
Sets the value of the named element to a new value (see $set).
The name of the element to be set.
The new value.
The builder (so method calls can be chained).
Sets the value of the named element to a new wrapped value (see $set).
The type of wrapped value.
The name of the element to be set.
The new wrapped value.
The builder (so method calls can be chained).
Removes the named element from the document (see $unset).
The name of the element to be removed.
The builder (so method calls can be chained).
A builder for creating update modifiers.
A marker interface that represents an update modifier (see UpdateDocument and the Update builder).
Initializes a new instance of the UpdateBuilder class.
Adds a value to a named array element if the value is not already in the array (see $addToSet).
The name of the array element.
The value to add to the set.
The builder (so method calls can be chained).
Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The name of the array element.
The values to add to the set.
The builder (so method calls can be chained).
Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The name of the array element.
The values to add to the set.
The builder (so method calls can be chained).
Adds a list of values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The name of the array element.
The values to add to the set.
The builder (so method calls can be chained).
Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the set.
The builder (so method calls can be chained).
Adds a list of wrapped values to a named array element adding each value only if it not already in the array (see $addToSet and $each).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the set.
The builder (so method calls can be chained).
Adds a wrapped value to a named array element if the value is not already in the array (see $addToSet).
The type of wrapped value.
The name of the array element.
The wrapped value to add to the set.
The builder (so method calls can be chained).
Sets the named element to the bitwise and of its value with another value (see $bit with "and").
The name of the element to be modified.
The value to be and-ed with the current value.
The builder (so method calls can be chained).
Sets the named element to the bitwise and of its value with another value (see $bit with "and").
The name of the element to be modified.
The value to be and-ed with the current value.
The builder (so method calls can be chained).
Sets the named element to the bitwise or of its value with another value (see $bit with "or").
The name of the element to be modified.
The value to be or-ed with the current value.
The builder (so method calls can be chained).
Sets the named element to the bitwise or of its value with another value (see $bit with "or").
The name of the element to be modified.
The value to be or-ed with the current value.
The builder (so method calls can be chained).
Combines another UpdateBuilder into this one.
The UpdateBuilder to combine into this one.
A combined UpdateBuilder.
Increments the named element by a value (see $inc).
The name of the element to be incremented.
The value to increment by.
The builder (so method calls can be chained).
Increments the named element by a value (see $inc).
The name of the element to be incremented.
The value to increment by.
The builder (so method calls can be chained).
Increments the named element by a value (see $inc).
The name of the element to be incremented.
The value to increment by.
The builder (so method calls can be chained).
Removes the first value from the named array element (see $pop).
The name of the array element.
The builder (so method calls can be chained).
Removes the last value from the named array element (see $pop).
The name of the array element.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to some value (see $pull).
The name of the array element.
The value to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that match some query (see $pull).
The name of the array element.
A query that specifies which elements to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
The name of the array element.
The values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
The name of the array element.
The values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
The name of the array element.
The values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll).
The type of wrapped values.
The name of the array element.
The wrapped values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll).
The type of wrapped values.
The name of the array element.
The wrapped values to remove.
The builder (so method calls can be chained).
Removes all values from the named array element that are equal to some wrapped value (see $pull).
The type of wrapped value.
The name of the array element.
The wrapped value to remove.
The builder (so method calls can be chained).
Adds a value to the end of the named array element (see $push).
The name of the array element.
The value to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of values to the end of the named array element (see $pushAll).
The name of the array element.
The values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of values to the end of the named array element (see $pushAll).
The name of the array element.
The values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of values to the end of the named array element (see $pushAll).
The name of the array element.
The values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of wrapped values to the end of the named array element (see $pushAll).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the end of the array.
The builder (so method calls can be chained).
Adds a list of wrapped values to the end of the named array element (see $pushAll).
The type of wrapped values.
The name of the array element.
The wrapped values to add to the end of the array.
The builder (so method calls can be chained).
Adds a wrapped value to the end of the named array element (see $push).
The type of wrapped value.
The name of the array element.
The wrapped value to add to the end of the array.
The builder (so method calls can be chained).
Renames an element (see $rename).
The old element name.
The new element name.
The builder (so method calls can be chained).
Sets the value of the named element to a new value (see $set).
The name of the element to be set.
The new value.
The builder (so method calls can be chained).
Sets the value of the named element to a new wrapped value (see $set).
The type of wrapped value.
The name of the element to be set.
The new wrapped value.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Removes the named element from the document (see $unset).
The name of the element to be removed.
The builder (so method calls can be chained).
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
A builder for specifying what the GroupBy command should group by.
Sets a key function.
The key function.
A BsonJavaScript.
Sets one or more key names.
One or more key names.
The builder (so method calls can be chained).
A builder for specifying what the GroupBy command should group by.
A marker interface that represents what to group by (see GroupByDocument and the GroupBy builder).
Initializes a new instance of the GroupByBuilder class.
One or more key names.
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
The address of a MongoDB server.
Initializes a new instance of MongoServerAddress.
The server's host name.
Initializes a new instance of MongoServerAddress.
The server's host name.
The server's port number.
Parses a string representation of a server address.
The string representation of a server address.
A new instance of MongoServerAddress initialized with values parsed from the string.
Tries to parse a string representation of a server address.
The string representation of a server address.
The server address (set to null if TryParse fails).
True if the string is parsed succesfully.
Compares two server addresses.
The first address.
The other address.
True if the two addresses are equal (or both are null).
Compares two server addresses.
The first address.
The other address.
True if the two addresses are not equal (or one is null and the other is not).
Compares two server addresses.
The other server address.
True if the two server addresses are equal.
Compares two server addresses.
The other server address.
True if the two server addresses are equal.
Gets the hash code for this object.
The hash code.
Returns a string representation of the server address.
A string representation of the server address.
Returns the server address as an IPEndPoint (does a DNS lookup).
The address family of the returned IPEndPoint.
The IPEndPoint of the server.
Gets the server's host name.
Gets the server's port number.
Represents setting for GridFS.
Initializes a new instance of the MongoGridFSSettings class.
Initializes a new instance of the MongoGridFSSettings class.
The database from which to inherit some of the settings.
Initializes a new instance of the MongoGridFSSettings class.
The chunk size.
The root collection name.
The safe mode.
Compares two MongoGridFSSettings.
The first MongoGridFSSettings.
The other MongoGridFSSettings.
True if the two MongoGridFSSettings are not equal (or one is null and the other is not).
Compares two MongoGridFSSettings.
The first MongoGridFSSettings.
The other MongoGridFSSettings.
True if the two MongoGridFSSettings are equal (or both null).
Creates a clone of the settings.
A clone of the settings.
Compares this MongoGridFSSettings to another one.
The other MongoGridFSSettings.
True if the two settings are equal.
Compares this MongoGridFSSettings to another object.
The other object.
True if the other objects is a MongoGridFSSettings and is equal to this one.
Freezes the settings.
The frozen settings.
Returns a frozen copy of the settings.
A frozen copy of the settings.
Gets the hash code.
The hash code.
Gets or sets the default GridFS settings.
Gets the chunks collection name.
Gets or sets the chunk size.
Gets the files collection name.
Gets whether the settings are frozen.
Gets or sets the root collection name (the files and chunks collection names are derived from the root).
Gets or sets the safe mode.
Represents a pool of connections to a MongoDB server.
Gets the number of available connections (connections that are open but not currently in use).
Gets the number of connections in the connection pool (includes both available and in use connections).
Gets the current generation Id of the connection pool.
Gets the server instance.
Represents a wrapped object that can be used where an IMongoGeoHaystackSearchOptions is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the GeoHaystackSearchOptionsWrapper class.
The wrapped object.
Creates a new instance of the GeoHaystackSearchOptionsWrapper class.
The wrapped object.
A new instance of GeoHaystackSearchOptionsWrapper or null.
Used with the Connect method when connecting to a replica set to specify what subset of the replica set must be connected before returning.
Wait for all members of the replica set to be connected.
Wait for the primary member of the replica set to be connected.
Wait for any slaveOk member of the replica set to be connected (primary or any secondary).
Represents the result of a GeoNear command.
Initializes a new instance of the GeoNearResult class.
Gets the hits.
Gets the namespace.
Gets the stats.
Gets the hits.
Represents a collection of GeoNear hits.
Initializes a new instance of the GeoNearHits class.
Gets an enumerator for the hits.
An enumerator.
Gets the enumerator.
An enumerator.
Gets an individual hit.
The zero based index of the hit.
The hit.
Gets the count of the number of hits.
Gets an individual hit.
The zero based index of the hit.
The hit.
Represents a GeoNear hit.
Initializes a new instance of the GeoNearHit class.
The hit.
Gets the distance.
Gets the document.
Gets the document as a BsonDocument.
Gets the document.
Represents the stats of a GeoNear command.
Initializes a new instance of the GeoNearStats class.
The stats.
Gets the average distance.
Gets the count of b-tree locations.
Gets the duration.
Gets the max distance.
Gets the number of documents scanned.
Gets the number of documents loaded.
Represents the result of a GeoNear command.
The type of the returned documents.
Initializes a new instance of the GeoNearResult class.
Gets the hits.
Gets the hits.
Represents a collection of GeoNear hits.
Initializes a new instance of the GeoNearHits class.
The hits.
Gets an enumerator for the hits.
An enumerator.
Gets a hit.
The zero based index of the hit.
The hit.
Gets an enumerator for the hits.
An enumerator.
Gets the count of the number of hits.
Gets an individual hit.
The zero based index of the hit.
The hit.
Represents a GeoNear hit.
Initializes a new instance of the GeoNearHit class.
The hit.
Gets the document.
Gets the document.
Represents a wrapped object that can be used where an IMongoMapReduceOptions is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the MapReduceOptionsWrapper class.
The wrapped object.
Creates a new instance of the MapReduceOptionsWrapper class.
The wrapped object.
A new instance of MapReduceOptionsWrapper or null.
Represents a document from the system.profile collection.
Initializes a new instance of the SystemProfileInfo class.
Gets or sets the abbreviated profile info (only used when the profile info would have exceeded 100KB).
Gets or sets the client.
Gets or sets the command.
Gets or sets the cursor Id.
Gets or sets the duration.
Gets or sets the error message.
Gets or sets the exception message.
Gets or sets the exception code.
Gets or sets whether exhaust was true.
Gets or sets whether fastMod was true.
Gets or sets whether fastModInsert was true.
Gets or sets whether idHack was true.
Gets or sets the info string (only present with pre 2.0 servers).
Gets or sets the number of key updates.
Gets or sets whether moved was true.
Gets or sets the namespace.
Gets or sets the number of documents returned.
Gets or sets the number of documents scanned.
Gets or sets the number of documents to return.
Gets or sets the number of documents to skip.
Gets or sets the operation.
Gets or sets the query.
Gets or sets the response length.
Gets or sets whether scanAndOrder was true.
Gets or sets the timestamp.
Gets or sets the update object.
Gets or sets whether upsert was true.
Gets or sets the user.
Represents a serializer for SystemProfileInfo.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for a member.
The member name.
The serialization info for the member.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
The settings used to access a database.
Creates a new instance of MongoDatabaseSettings.
The server to inherit settings from.
The name of the database.
Creates a new instance of MongoDatabaseSettings.
The name of the database.
The credentials to access the database.
The representation for Guids.
The safe mode to use.
Whether queries should be sent to secondary servers.
Creates a clone of the settings.
A clone of the settings.
Compares two MongoDatabaseSettings instances.
The other instance.
True if the two instances are equal.
Freezes the settings.
The frozen settings.
Returns a frozen copy of the settings.
A frozen copy of the settings.
Gets the hash code.
The hash code.
Returns a string representation of the settings.
A string representation of the settings.
Gets or sets the credentials to access the database.
Gets the name of the database.
Gets or sets the representation to use for Guids.
Gets whether the settings have been frozen to prevent further changes.
Gets or sets the SafeMode to use.
Gets or sets whether queries should be sent to secondary servers.
Flags used with the Insert method in MongoCollection.
No flags.
Continue with the remaining documents even if one of the documents resulted in an error.
A builder for the options used when creating an index.
Sets whether to build the index in the background.
Whether to build the index in the background.
The builder (so method calls can be chained).
Sets the bucket size for geospatial haystack indexes.
The bucket size.
The builder (so method calls can be chained).
Sets whether duplicates should be dropped.
Whether duplicates should be dropped.
The builder (so method calls can be chained).
Sets the geospatial range.
The min value of the range.
The max value of the range.
The builder (so method calls can be chained).
Sets the name of the index.
The name of the index.
The builder (so method calls can be chained).
Sets whether the index is a sparse index.
Whether the index is a sparse index.
The builder (so method calls can be chained).
Sets whether the index enforces unique values.
Whether the index enforces unique values.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoIndexOptions.
A builder for the options used when creating an index.
Initializes a new instance of the IndexOptionsBuilder class.
Sets whether to build the index in the background.
Whether to build the index in the background.
The builder (so method calls can be chained).
Sets the bucket size for geospatial haystack indexes.
The bucket size.
The builder (so method calls can be chained).
Sets whether duplicates should be dropped.
Whether duplicates should be dropped.
The builder (so method calls can be chained).
Sets the geospatial range.
The min value of the range.
The max value of the range.
The builder (so method calls can be chained).
Sets the name of the index.
The name of the index.
The builder (so method calls can be chained).
Sets whether the index is a sparse index.
Whether the index is a sparse index.
The builder (so method calls can be chained).
Sets whether the index enforces unique values.
Whether the index enforces unique values.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
Represents a stream interface to a GridFS file (patterned after .NET's Stream class).
Initializes a new instance of the MongoGridFSStream class.
The GridFS file info.
The mode.
Initializes a new instance of the MongoGridFSStream class.
The GridFS file info.
The mode.
The acess.
Flushes any unsaved data in the buffers to the GridFS file.
Reads bytes from the GridFS stream.
The destination buffer.
The offset in the destination buffer at which to place the read bytes.
The number of bytes to read.
The number of bytes read.
Reads one byte from the GridFS stream.
The byte (-1 if at the end of the GridFS stream).
Seeks to a new position.
The seek offset.
The seek origin.
The new position.
Sets the length of the GridFS file.
The length.
Writes bytes to the GridFS stream.
The source buffer.
The offset in the source buffer to the bytes.
The number of bytes to write.
Writes one byte to the GridFS stream.
The byte.
Disposes of any resources used by the stream.
True if called from Dispose.
Gets whether the GridFS stream supports reading.
Gets whether the GridFS stream supports seeking.
Gets whether the GridFS stream supports writing.
Gets the current length (use SetLength to change the length).
Gets or sets the current position.
Gets or sets whether to compute and update the MD5 hash for the file when the stream is closed.
Represents a projection.
The type of the source objects.
The type of the result objects.
Initializes a new instance of the Projector class.
The cursor that supplies the source objects.
The projection.
Gets an enumerator for the result objects.
An enumerator for the result objects.
A class that formats an Expression as a string.
Initializes a new instance of the ExpressionFormatter class.
Returns a string that represents the Expression.
The Expression to format.
A string that represents the Expression.
Returns a string that represents the Expression.
A string that represents the Expression.
Visits a BinaryExpression.
The BinaryExpression.
The BinaryExpression.
Visits a ConditionalExpression.
The ConditionalExpression.
The ConditionalExpression.
Visits a ConstantExpression.
The ConstantExpression.
The ConstantExpression.
Visits an ElementInit node.
The ElementInit node.
The ElementInit node.
Visits an ElementInit list.
The ElementInit list.
The ElementInit list.
Visits an InvocationExpression.
The InvocationExpression.
The InvocationExpression.
Visits a LambdaExpression.
The LambdaExpression.
The LambdaExpression.
Visits a ListInitExpression.
The ListInitExpression.
The ListInitExpression.
Visits a MemberExpression.
The MemberExpression.
The MemberExpression.
Visits a MemberAssignment.
The MemberAssignment.
The MemberAssignment.
Visits a MemberBinding.
The MemberBinding.
The MemberBinding (possibly modified).
Visits a MemberBinding list.
The MemberBinding list.
The MemberBinding list.
Visits a MemberInitExpression.
The MemberInitExpression.
The MemberInitExpression.
Visits a MemberListBinding.
The MemberListBinding.
The MemberListBinding.
Visits a MemberMemberBinding.
The MemberMemberBinding.
The MemberMemberBinding.
Visits a MethodCallExpression.
The MethodCallExpression.
The MethodCallExpression.
Visits a NewExpression.
The NewExpression.
The NewExpression.
Visits a NewArrayExpression.
The NewArrayExpression.
The NewArrayExpression.
Visits a ParameterExpression.
The ParameterExpression.
The ParameterExpression.
Visits a TypeBinaryExpression.
The TypeBinaryExpression.
The TypeBinaryExpression.
Visits a UnaryExpression.
The UnaryExpression.
The UnaryExpression.
A marker interface that represents a scope (a set of variables with values, see ScopeDocument).
Represents a MongoDB database and the settings used to access it. This class is thread-safe.
Creates a new instance of MongoDatabase. Normally you would call one of the indexers or GetDatabase methods
of MongoServer instead.
The server that contains this database.
The settings to use to access this database.
Creates a new instance or returns an existing instance of MongoDatabase. Only one instance
is created for each combination of database settings. Automatically creates an instance
of MongoServer if needed.
Server and database settings in the form of a MongoConnectionStringBuilder.
A new or existing instance of MongoDatabase.
Creates a new instance or returns an existing instance of MongoDatabase. Only one instance
is created for each combination of database settings. Automatically creates an instance
of MongoServer if needed.
The server settings for the server that contains this database.
The name of this database (will be accessed using default settings).
A new or existing instance of MongoDatabase.
Creates a new instance or returns an existing instance of MongoDatabase. Only one instance
is created for each combination of database settings. Automatically creates an instance
of MongoServer if needed.
Server and database settings in the form of a MongoUrl.
A new or existing instance of MongoDatabase.
Creates a new instance or returns an existing instance of MongoDatabase. Only one instance
is created for each combination of database settings. Automatically creates an instance
of MongoServer if needed.
Server and database settings in the form of a connection string.
A new or existing instance of MongoDatabase.
Creates a new instance or returns an existing instance of MongoDatabase. Only one instance
is created for each combination of database settings. Automatically creates an instance
of MongoServer if needed.
Server and database settings in the form of a Uri.
A new or existing instance of MongoDatabase.
Adds a user to this database.
The user's credentials.
Adds a user to this database.
The user's credentials.
True if the user is a read-only user.
Adds a user to this database.
The user.
Tests whether a collection exists on this database.
The name of the collection.
True if the collection exists.
Creates a collection. MongoDB creates collections automatically when they are first used, so
this command is mainly here for frameworks.
The name of the collection.
A CommandResult.
Creates a collection. MongoDB creates collections automatically when they are first used, so
you only need to call this method if you want to provide non-default options.
The name of the collection.
Options for creating this collection (usually a CollectionOptionsDocument or constructed using the CollectionOptions builder).
A CommandResult.
Creates an instance of MongoCollectionSettings for the named collection with the rest of the settings inherited.
You can override some of these settings before calling GetCollection.
The default document type for this collection.
The name of this collection.
A MongoCollectionSettings.
Creates an instance of MongoCollectionSettings for the named collection with the rest of the settings inherited.
You can override some of these settings before calling GetCollection.
The default document type for this collection.
The name of this collection.
A MongoCollectionSettings.
Drops a database.
Drops a collection.
The name of the collection to drop.
A CommandResult.
Evaluates JavaScript code at the server.
Flags that control Eval options.
The code to evaluate.
Optional arguments (only used when the code is a function with parameters).
The result of evaluating the code.
Evaluates JavaScript code at the server.
The code to evaluate.
Optional arguments (only used when the code is a function with parameters).
The result of evaluating the code.
Fetches the document referred to by the DBRef.
The to fetch.
A BsonDocument (or null if the document was not found).
Fetches the document referred to by the DBRef, deserialized as a .
The nominal type of the document to fetch.
The to fetch.
A (or null if the document was not found).
Fetches the document referred to by the DBRef.
The nominal type of the document to fetch.
The to fetch.
An instance of nominalType (or null if the document was not found).
Finds all users of this database.
An array of users.
Finds a user of this database.
The username.
The user.
Gets a MongoCollection instance representing a collection on this database
with a default document type of TDefaultDocument.
The default document type for this collection.
The settings to use when accessing this collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of TDefaultDocument.
The default document type for this collection.
The name of the collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of TDefaultDocument.
The default document type for this collection.
The name of the collection.
The safe mode to use when accessing this collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of TDefaultDocument.
The settings to use when accessing this collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of BsonDocument.
The name of the collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of BsonDocument.
The name of the collection.
The safe mode to use when accessing this collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of BsonDocument.
The default document type.
The name of the collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of BsonDocument.
The default document type.
The name of the collection.
The safe mode to use when accessing this collection.
An instance of MongoCollection.
Gets a list of the names of all the collections in this database.
A list of collection names.
Gets the current operation.
The current operation.
Gets an instance of MongoGridFS for this database using custom GridFS settings.
The GridFS settings to use.
An instance of MongoGridFS.
Gets the last error (if any) that occurred on this connection. You MUST be within a RequestStart to call this method.
The last error ()
Gets one or more documents from the system.profile collection.
A query to select which documents to return.
A cursor.
Gets the current profiling level.
The profiling level.
Gets a sister database on the same server.
The name of the sister database.
An instance of MongoDatabase.
Gets the current database stats.
An instance of DatabaseStatsResult.
Removes a user from this database.
The user to remove.
Removes a user from this database.
The username to remove.
Renames a collection on this database.
The old name for the collection.
The new name for the collection.
A CommandResult.
Renames a collection on this database.
The old name for the collection.
The new name for the collection.
Whether to drop the target collection first if it already exists.
A CommandResult.
Renames a collection on this database.
The old name for the collection.
The new name for the collection.
Whether to drop the target collection first if it already exists.
Credentials for the admin database.
A CommandResult.
Renames a collection on this database.
The old name for the collection.
The new name for the collection.
Credentials for the admin database.
A CommandResult.
Lets the server know that this thread is done with a series of related operations. Instead of calling this method it is better
to put the return value of RequestStart in a using statement.
Lets the server know that this thread is about to begin a series of related operations that must all occur
on the same connection. The return value of this method implements IDisposable and can be placed in a
using statement (in which case RequestDone will be called automatically when leaving the using statement).
A helper object that implements IDisposable and calls from the Dispose method.
Lets the server know that this thread is about to begin a series of related operations that must all occur
on the same connection. The return value of this method implements IDisposable and can be placed in a
using statement (in which case RequestDone will be called automatically when leaving the using statement).
Whether queries should be sent to secondary servers.
A helper object that implements IDisposable and calls from the Dispose method.
Removes all entries for this database in the index cache used by EnsureIndex. Call this method
when you know (or suspect) that a process other than this one may have dropped one or
more indexes.
Runs a command on this database.
The command object.
A CommandResult
Runs a command on this database.
The name of the command.
A CommandResult
Runs a command on this database and returns the result as a TCommandResult.
The type of the returned command result.
The command object.
A TCommandResult
Runs a command on this database and returns the result as a TCommandResult.
The type of the returned command result.
The name of the command.
A TCommandResult
Runs a command on this database and returns the result as a TCommandResult.
The command result type.
The command object.
A TCommandResult
Runs a command on this database and returns the result as a TCommandResult.
The command result type.
The name of the command.
A TCommandResult
Sets the level of profile information to write.
The profiling level.
A CommandResult.
Sets the level of profile information to write.
The profiling level.
The threshold that defines a slow query.
A CommandResult.
Gets a canonical string representation for this database.
A canonical string representation for this database.
Gets the command collection for this database.
Gets the credentials being used to access this database.
Gets the default GridFS instance for this database. The default GridFS instance uses default GridFS
settings. See also GetGridFS if you need to use GridFS with custom settings.
Gets the name of this database.
Gets the server that contains this database.
Gets the settings being used to access this database.
Gets a MongoCollection instance representing a collection on this database
with a default document type of BsonDocument.
The name of the collection.
An instance of MongoCollection.
Gets a MongoCollection instance representing a collection on this database
with a default document type of BsonDocument.
The name of the collection.
The safe mode to use when accessing this collection.
An instance of MongoCollection.
An object that can be enumerated to fetch the results of a query. The query is not sent
to the server until you begin enumerating the results.
Creates a new MongoCursor. It is very unlikely that you will call this constructor. Instead, see all the Find methods in MongoCollection.
The collection.
The query.
Creates a cursor.
The type of the returned documents.
The collection to query.
A query.
A cursor.
Creates a clone of the cursor.
The type of the documents returned.
A clone of the cursor.
Creates a clone of the cursor.
The type of the documents returned.
A clone of the cursor.
Returns the number of documents that match the query (ignores Skip and Limit, unlike Size which honors them).
The number of documents that match the query.
Returns an explanation of how the query was executed (instead of the results).
An explanation of thow the query was executed.
Returns an explanation of how the query was executed (instead of the results).
Whether the explanation should contain more details.
An explanation of thow the query was executed.
Sets the batch size (the number of documents returned per batch).
The number of documents in each batch.
The cursor (so you can chain method calls to it).
Sets the fields that will be returned from the server.
The fields that will be returned from the server.
The cursor (so you can chain method calls to it).
Sets the fields that will be returned from the server.
The fields that will be returned from the server.
The cursor (so you can chain method calls to it).
Sets the query flags.
The query flags.
The cursor (so you can chain method calls to it).
Sets the index hint for the query.
The index hint.
The cursor (so you can chain method calls to it).
Sets the index hint for the query.
The name of the index.
The cursor (so you can chain method calls to it).
Sets the limit on the number of documents to be returned.
The limit on the number of documents to be returned.
The cursor (so you can chain method calls to it).
Sets the max value for the index key range of documents to return (note: the max value itself is excluded from the range).
Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically).
The max value.
The cursor (so you can chain method calls to it).
Sets the maximum number of documents to scan.
The maximum number of documents to scan.
The cursor (so you can chain method calls to it).
Sets the min value for the index key range of documents to return (note: the min value itself is included in the range).
Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically).
The min value.
The cursor (so you can chain method calls to it).
Sets a cursor option.
The name of the option.
The value of the option.
The cursor (so you can chain method calls to it).
Sets multiple cursor options. See also the individual Set{Option} methods, which are easier to use.
The options.
The cursor (so you can chain method calls to it).
Sets the serialization options (only needed in rare cases).
The serialization options.
The cursor (so you can chain method calls to it).
Sets the $showDiskLoc option.
The cursor (so you can chain method calls to it).
Sets the number of documents the server should skip before returning the rest of the documents.
The number of documents to skip.
The cursor (so you can chain method calls to it).
Sets whether the query should be sent to a secondary server.
Whether the query should be sent to a secondary server.
The cursor (so you can chain method calls to it).
Sets the $snapshot option.
The cursor (so you can chain method calls to it).
Sets the sort order for the server to sort the documents by before returning them.
The sort order.
The cursor (so you can chain method calls to it).
Sets the sort order for the server to sort the documents by before returning them.
The names of the fields to sort by.
The cursor (so you can chain method calls to it).
Returns the size of the result set (honors Skip and Limit, unlike Count which does not).
The size of the result set.
Gets the non-generic enumerator.
The enumerator.
Gets the server that the query will be sent to.
Gets the database that constains the collection that is being queried.
Gets the collection that is being queried.
Gets the query that will be sent to the server.
Gets or sets the fields that will be returned from the server.
Gets or sets the cursor options. See also the individual Set{Option} methods, which are easier to use.
Gets or sets the query flags.
Gets or sets whether the query should be sent to a secondary server.
Gets or sets the number of documents the server should skip before returning the rest of the documents.
Gets or sets the limit on the number of documents to be returned.
Gets or sets the batch size (the number of documents returned per batch).
Gets or sets the serialization options (only needed in rare cases).
Gets whether the cursor has been frozen to prevent further changes.
An object that can be enumerated to fetch the results of a query. The query is not sent
to the server until you begin enumerating the results.
The type of the documents returned.
Creates a new MongoCursor. It is very unlikely that you will call this constructor. Instead, see all the Find methods in MongoCollection.
The collection.
The query.
Returns an enumerator that can be used to enumerate the cursor. Normally you will use the foreach statement
to enumerate the cursor (foreach will call GetEnumerator for you).
An enumerator that can be used to iterate over the cursor.
Sets the batch size (the number of documents returned per batch).
The number of documents in each batch.
The cursor (so you can chain method calls to it).
Sets the fields that will be returned from the server.
The fields that will be returned from the server.
The cursor (so you can chain method calls to it).
Sets the fields that will be returned from the server.
The fields that will be returned from the server.
The cursor (so you can chain method calls to it).
Sets the query flags.
The query flags.
The cursor (so you can chain method calls to it).
Sets the index hint for the query.
The index hint.
The cursor (so you can chain method calls to it).
Sets the index hint for the query.
The name of the index.
The cursor (so you can chain method calls to it).
Sets the limit on the number of documents to be returned.
The limit on the number of documents to be returned.
The cursor (so you can chain method calls to it).
Sets the max value for the index key range of documents to return (note: the max value itself is excluded from the range).
Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically).
The max value.
The cursor (so you can chain method calls to it).
Sets the maximum number of documents to scan.
The maximum number of documents to scan.
The cursor (so you can chain method calls to it).
Sets the min value for the index key range of documents to return (note: the min value itself is included in the range).
Often combined with SetHint (if SetHint is not used the server will attempt to determine the matching index automatically).
The min value.
The cursor (so you can chain method calls to it).
Sets a cursor option.
The name of the option.
The value of the option.
The cursor (so you can chain method calls to it).
Sets multiple cursor options. See also the individual Set{Option} methods, which are easier to use.
The options.
The cursor (so you can chain method calls to it).
Sets the serialization options (only needed in rare cases).
The serialization options.
The cursor (so you can chain method calls to it).
Sets the $showDiskLoc option.
The cursor (so you can chain method calls to it).
Sets the number of documents the server should skip before returning the rest of the documents.
The number of documents to skip.
The cursor (so you can chain method calls to it).
Sets whether the query should be sent to a secondary server.
Whether the query should be sent to a secondary server.
The cursor (so you can chain method calls to it).
Sets the $snapshot option.
The cursor (so you can chain method calls to it).
Sets the sort order for the server to sort the documents by before returning them.
The sort order.
The cursor (so you can chain method calls to it).
Sets the sort order for the server to sort the documents by before returning them.
The names of the fields to sort by.
The cursor (so you can chain method calls to it).
Gets the non-generic enumerator.
The enumerator.
Represents a wrapped object that can be used where an IMongoSortBy is expected (the wrapped object is expected to serialize properly).
A marker interface that represents a sort order (see SortByDocument and the SortBy builder).
Initializes a new instance of the SortByWrapper class.
The wrapped object.
Creates a new instance of the SortByWrapper class.
The wrapped object.
A new instance of SortByWrapper or null.
Represents a wrapped object that can be used where an IMongoGroupBy is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the GroupByWrapper class.
The wrapped object.
Creates a new instance of the GroupByWrapper class.
The wrapped object.
A new instance of GroupByWrapper or null.
Represents build info about a server instance.
Creates a new instance of MongoServerBuildInfo.
The number of bits (32 or 64).
The GIT version.
The sysInfo.
The version string.
Gets the number of bits (32 or 64).
Gets the GIT version.
Gets the sysInfo.
Gets the version.
Gets the version string.
Represents the results of an operation performed with a safe mode.
Represents the results of a GetLastError command.
Initializes a new instance of the GetLastErrorResult class.
Gets the number of documents affected.
Gets whether the result has a LastErrorMessage.
Gets the last error message (null if none).
Gets whether the last command updated an existing document.
Initializes a new instance of the SafeModeResult class.
Represents .NET style connection strings. We recommend you use URL style connection strings
(see MongoUrl and MongoUrlBuilder).
Creates a new instance of MongoConnectionStringBuilder.
Creates a new instance of MongoConnectionStringBuilder.
The initial settings.
Clears all settings to their default values.
Tests whether a keyword is valid.
The keyword.
True if the keyword is valid.
Creates a new instance of MongoServerSettings based on the settings in this MongoConnectionStringBuilder.
A new instance of MongoServerSettings.
Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize).
Gets or sets the connection mode.
Gets or sets the connect timeout.
Gets or sets the optional database name.
Gets or sets the representation for Guids.
Gets or sets whether to use IPv6.
Gets or sets the max connection idle time.
Gets or sets the max connection life time.
Gets or sets the max connection pool size.
Gets or sets the min connection pool size.
Gets or sets the default password.
Gets or sets the name of the replica set.
Gets or sets the SafeMode to use.
Gets or sets the address of the server (see also Servers if using more than one address).
Gets or sets the list of server addresses (see also Server if using only one address).
Gets or sets whether queries should be sent to secondary servers.
Gets or sets the socket timeout.
Gets or sets the default username.
Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize).
Gets or sets the wait queue size.
Gets or sets the wait queue timeout.
Gets or sets individual settings by keyword.
The keyword.
The value of the setting.
Various static utility methods.
Gets the MD5 hash of a string.
The string to get the MD5 hash of.
The MD5 hash.
Converts a string to camel case by lower casing the first letter (only the first letter is modified).
The string to camel case.
The camel cased string.
Static class that contains the Mongo Linq extension methods.
Returns an instance of IQueryable{{T}} for a MongoCollection.
The type of the returned documents.
The name of the collection.
An instance of IQueryable{{T}} for a MongoCollection.
Represents a thread-safe queue.
The type of elements.
Initializes a new instance of the BlockingQueue class.
Dequeues one item from the queue. Will block waiting for an item if the queue is empty.
The timeout for waiting for an item to appear in the queue.
The first item in the queue (null if it timed out).
Enqueues an item on to the queue.
The item to be queued.
Represents a MongoDB query exception.
Initializes a new instance of the MongoQueryException class.
The error message.
Initializes a new instance of the MongoQueryException class.
The error message.
The inner exception.
Initializes a new instance of the MongoQueryException class.
The error message.
The error document returned by the server.
Initializes a new instance of the MongoQueryException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Gets the error document returned by the server.
Represents a BSON document that can be used where an IMongoScope is expected.
Initializes a new instance of the ScopeDocument class.
Initializes a new instance of the ScopeDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the ScopeDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the ScopeDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the ScopeDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the ScopeDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the ScopeDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the ScopeDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the ScopeDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the ScopeDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the ScopeDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the ScopeDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents a wrapped object that can be used where an IMongoIndexKeys is expected (the wrapped object is expected to serialize properly).
A marker interface that represents the keys of an index (see IndexKeysDocument and the IndexKeys builder).
Initializes a new instance of the IndexKeysWrapper class.
The wrapped object.
Creates a new instance of the IndexKeysWrapper class.
The wrapped object.
A new instance of IndexKeysWrapper or null.
Represents a DBRef (a convenient way to refer to a document).
Creates a MongoDBRef.
The name of the collection that contains the document.
The Id of the document.
Creates a MongoDBRef.
The name of the database that contains the document.
The name of the collection that contains the document.
The Id of the document.
Determines whether two specified MongoDBRef objects have different values.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is different from the value of rhs; otherwise, false.
Determines whether two specified MongoDBRef objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Determines whether two specified MongoDBRef objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Determines whether this instance and another specified MongoDBRef object have the same value.
The MongoDBRef object to compare to this instance.
True if the value of the rhs parameter is the same as this instance; otherwise, false.
Determines whether this instance and a specified object, which must also be a MongoDBRef object, have the same value.
The MongoDBRef object to compare to this instance.
True if obj is a MongoDBRef object and its value is the same as this instance; otherwise, false.
Returns the hash code for this MongoDBRef object.
A 32-bit signed integer hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the name of the database that contains the document.
Gets the name of the collection that contains the document.
Gets the Id of the document.
Represents a serializer for MongoDBRefs.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for a member.
The member name.
The serialization info for the member.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
An implementation of IQueryProvider for querying a MongoDB collection.
Initializes a new instance of the MongoQueryProvider class.
The collection being queried.
Builds the MongoDB query that will be sent to the server when the LINQ query is executed.
The type of the documents being queried.
The LINQ query.
The MongoDB query.
Creates a new instance of MongoQueryable{{T}} for this provider.
The type of the returned elements.
The query expression.
A new instance of MongoQueryable{{T}}.
Creates a new instance MongoQueryable{{T}} for this provider. Calls the generic CreateQuery{{T}}
to actually create the new MongoQueryable{{T}} instance.
The query expression.
A new instance of MongoQueryable{{T}}.
Executes a query.
The type of the result.
The query expression.
The result of the query.
Executes a query. Calls the generic method Execute{{T}} to actually execute the query.
The query expression.
The result of the query.
Gets the Collection.
Performs bottom-up analysis to find maximal subtrees that satisfy a predicate.
Represents a MongoDB safe mode exception.
Represents a MongoDB command exception.
Initializes a new instance of the MongoCommandException class.
The command result (an error message will be constructed using the result).
Initializes a new instance of the MongoCommandException class.
The error message.
Initializes a new instance of the MongoCommandException class.
The error message.
The inner exception.
Initializes a new instance of the MongoCommandException class.
The error message.
The command result.
Initializes a new instance of the MongoCommandException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Gets the command result.
Initializes a new instance of the MongoSafeModeException class.
The error message.
The command result.
Initializes a new instance of the MongoSafeModeException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Represents an instance of a MongoDB server host (in the case of a replica set a MongoServer uses multiple MongoServerInstances).
Gets the IP end point of this server instance.
The IP end point of this server instance.
Checks whether the server is alive (throws an exception if not).
Verifies the state of the server instance.
Occurs when the value of the State property changes.
Gets the address of this server instance.
Gets the version of this server instance.
Gets the exception thrown the last time Connect was called (null if Connect did not throw an exception).
Gets the connection pool for this server instance.
Gets whether this server instance is an arbiter instance.
Gets the result of the most recent ismaster command sent to this server instance.
Gets whether this server instance is a passive instance.
Gets whether this server instance is a primary.
Gets whether this server instance is a secondary.
Gets the max document size for this server instance.
Gets the max message length for this server instance.
Gets the unique sequential Id for this server instance.
Gets the server for this server instance.
Gets the state of this server instance.
A marker interface that represents a list of fields (see FieldsDocument and the Fields builder).
Represents the different safe modes that can be used.
Creates a new instance of the SafeMode class.
Whether safe mode is enabled.
Creates a new instance of the SafeMode class.
Whether safe mode is enabled.
Whether the server should call fsync after each operation.
Creates a new instance of the SafeMode class.
Whether safe mode is enabled.
Whether the server should call fsync after each operation.
The number of write replications that should be completed before server returns.
Creates a new instance of the SafeMode class.
Whether safe mode is enabled.
Whether the server should call fsync after each operation.
The number of write replications that should be completed before server returns.
The timeout for each operation.
Creates a new instance of the SafeMode class.
The number of write replications that should be completed before server returns.
Creates a new instance of the SafeMode class.
The number of write replications that should be completed before server returns.
The timeout for each operation.
Creates a new instance of the SafeMode class.
Another SafeMode to initialize this one from.
Determines whether two specified SafeMode objects have different values.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is different from the value of rhs; otherwise, false.
Determines whether two specified SafeMode objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Creates a SafeMode instance (or returns an existing instance).
Whether safe mode is enabled.
A SafeMode instance.
Creates a SafeMode instance (or returns an existing instance).
Whether safe mode is enabled.
Whether fysnc is true.
A SafeMode instance.
Creates a SafeMode instance (or returns an existing instance).
Whether safe mode is enabled.
Whether fysnc is true.
The number of write replications that should be completed before server returns.
A SafeMode instance.
Creates a SafeMode instance (or returns an existing instance).
Whether safe mode is enabled.
Whether fysnc is true.
The number of write replications that should be completed before server returns.
The timeout for each operation.
A SafeMode instance.
Creates a SafeMode instance (or returns an existing instance).
The number of write replications that should be completed before server returns.
A SafeMode instance.
Creates a SafeMode instance (or returns an existing instance).
The number of write replications that should be completed before server returns.
The timeout for each operation.
A SafeMode instance.
Determines whether two specified SafeMode objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Creates a clone of the SafeMode.
A clone of the SafeMode.
Determines whether this instance and a specified object, which must also be a SafeMode object, have the same value.
The SafeMode object to compare to this instance.
True if obj is a SafeMode object and its value is the same as this instance; otherwise, false.
Determines whether this instance and another specified SafeMode object have the same value.
The SafeMode object to compare to this instance.
True if the value of the rhs parameter is the same as this instance; otherwise, false.
Freezes the SafeMode.
The frozen SafeMode.
Returns a frozen copy of the SafeMode.
A frozen copy of the SafeMode.
Gets the hash code.
The hash code.
Returns a string representation of the SafeMode.
A string representation of the SafeMode.
Gets an instance of SafeMode with safe mode off.
Gets an instance of SafeMode with fsync=true.
Gets an instance of SafeMode with safe mode on.
Gets an instance of SafeMode with safe mode on and w=2.
Gets an instance of SafeMode with safe mode on and w=3.
Gets an instance of SafeMode with safe mode on and w=4.
Gets whether safe mode is enabled.
Gets whether fsync is true.
Gets whether wait for journal commit is true.
Gets the w value (the number of write replications that must complete before the server returns).
Gets the w mode (the w mode determines which write replications must complete before the server returns).
Gets the wtimeout value (the timeout before which the server must return).
Represents a MongoDB connection exception.
Initializes a new instance of the MongoConnectionException class.
The error message.
Initializes a new instance of the MongoConnectionException class.
The error message.
The inner exception.
Initializes a new instance of the MongoConnectionException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Represents a wrapped object that can be used where an IMongoScope is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the ScopeWrapper class.
The wrapped object.
Creates a new instance of the ScopeWrapper class.
The wrapped object.
A new instance of ScopeWrapper or null.
Represents a wrapped object that can be used where an IMongoGeoNearOptions is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the GeoNearOptionsWrapper class.
The wrapped object.
Creates a new instance of the GeoNearOptionsWrapper class.
The wrapped object.
A new instance of GeoNearOptionsWrapper or null.
Represents a wrapped object that can be used where an IMongoCollectionOptions is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the CollectionOptionsWrapper class.
The wrapped object.
Creates a new instance of the CollectionOptionsWrapper class.
The wrapped object.
A new instance of CollectionOptionsWrapper or null.
Represents the results of a GetProfilingLevel command.
Initializes a new instance of the GetProfilingLevelResult class.
Gets the profiling level.
Gets the threshold for a slow query.
Represents a MongoDB server (either a single instance or a replica set) and the settings used to access it. This class is thread-safe.
Creates a new instance of MongoServer. Normally you will use one of the Create methods instead
of the constructor to create instances of this class.
The settings for this instance of MongoServer.
Creates a new instance or returns an existing instance of MongoServer. Only one instance
is created for each combination of server settings.
A new or existing instance of MongoServer.
Creates a new instance or returns an existing instance of MongoServer. Only one instance
is created for each combination of server settings.
Server settings in the form of a MongoConnectionStringBuilder.
A new or existing instance of MongoServer.
Creates a new instance or returns an existing instance of MongoServer. Only one instance
is created for each combination of server settings.
Server settings.
A new or existing instance of MongoServer.
Creates a new instance or returns an existing instance of MongoServer. Only one instance
is created for each combination of server settings.
Server settings in the form of a MongoUrl.
A new or existing instance of MongoServer.
Creates a new instance or returns an existing instance of MongoServer. Only one instance
is created for each combination of server settings.
Server settings in the form of a connection string.
A new or existing instance of MongoServer.
Creates a new instance or returns an existing instance of MongoServer. Only one instance
is created for each combination of server settings.
Server settings in the form of a Uri.
A new or existing instance of MongoServer.
Gets an array containing a snapshot of the set of all servers that have been created so far.
An array containing a snapshot of the set of all servers that have been created so far.
Unregisters all servers from the dictionary used by Create to remember which servers have already been created.
Unregisters a server from the dictionary used by Create to remember which servers have already been created.
The server to unregister.
Connects to the server. Normally there is no need to call this method as
the driver will connect to the server automatically when needed.
Connects to the server. Normally there is no need to call this method as
the driver will connect to the server automatically when needed.
What to wait for before returning (when connecting to a replica set).
Connects to the server. Normally there is no need to call this method as
the driver will connect to the server automatically when needed.
How long to wait before timing out.
Connects to the server. Normally there is no need to call this method as
the driver will connect to the server automatically when needed.
How long to wait before timing out.
What to wait for before returning (when connecting to a replica set).
Copies a database.
The name of an existing database.
The name of the new database.
Creates an instance of MongoDatabaseSettings for the named database with the rest of the settings inherited.
You can override some of these settings before calling GetDatabase.
The name of the database.
An instance of MongoDatabase for .
Tests whether a database exists.
The name of the database.
True if the database exists.
Tests whether a database exists.
The name of the database.
Credentials for the admin database.
True if the database exists.
Disconnects from the server. Normally there is no need to call this method so
you should be sure to have a good reason to call it.
Drops a database.
The name of the database to be dropped.
A .
Drops a database.
The name of the database to be dropped.
Credentials for the database to be dropped (or admin credentials).
A .
Fetches the document referred to by the DBRef.
The to fetch.
A BsonDocument (or null if the document was not found).
Fetches the document referred to by the DBRef, deserialized as a .
The nominal type of the document to fetch.
The to fetch.
A (or null if the document was not found).
Fetches the document referred to by the DBRef.
The nominal type of the document to fetch.
The to fetch.
The document (or null if the document was not found).
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The settings to use with this database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
The credentials to use with this database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
The credentials to use with this database.
The safe mode to use with this database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
The safe mode to use with this database.
A new or existing instance of MongoDatabase.
Gets the names of the databases on this server.
A list of database names.
Gets the names of the databases on this server.
Credentials for the admin database.
A list of database names.
Gets the last error (if any) that occurred on this connection. You MUST be within a RequestStart to call this method.
The last error ()
Gets the last error (if any) that occurred on this connection. You MUST be within a RequestStart to call this method.
Credentials for the admin database.
The last error ()
Checks whether the server is alive (throws an exception if not). If server is a replica set, pings all members one at a time.
Reconnects to the server. Normally there is no need to call this method. All connections
are closed and new connections will be opened as needed. Calling
this method frequently will result in connection thrashing.
Lets the server know that this thread is done with a series of related operations. Instead of calling this method it is better
to put the return value of RequestStart in a using statement.
Lets the server know that this thread is about to begin a series of related operations that must all occur
on the same connection. The return value of this method implements IDisposable and can be placed in a
using statement (in which case RequestDone will be called automatically when leaving the using statement).
One of the databases involved in the related operations.
A helper object that implements IDisposable and calls from the Dispose method.
Lets the server know that this thread is about to begin a series of related operations that must all occur
on the same connection. The return value of this method implements IDisposable and can be placed in a
using statement (in which case RequestDone will be called automatically when leaving the using statement).
One of the databases involved in the related operations.
Whether queries should be sent to secondary servers.
A helper object that implements IDisposable and calls from the Dispose method.
Lets the server know that this thread is about to begin a series of related operations that must all occur
on the same connection. The return value of this method implements IDisposable and can be placed in a
using statement (in which case RequestDone will be called automatically when leaving the using statement).
One of the databases involved in the related operations.
The server instance this request should be tied to.
A helper object that implements IDisposable and calls from the Dispose method.
Removes all entries in the index cache used by EnsureIndex. Call this method
when you know (or suspect) that a process other than this one may have dropped one or
more indexes.
Shuts down the server.
Shuts down the server.
Credentials for the admin database.
Verifies the state of the server (in the case of a replica set all members are contacted one at a time).
Gets or sets the maximum number of instances of MongoServer that will be allowed to be created.
Gets the number of instances of MongoServer that have been created.
Gets the arbiter instances.
Gets the build info of the server.
Gets the most recent connection attempt number.
Gets the index cache (used by EnsureIndex) for this server.
Gets the one and only instance for this server.
Gets the instances for this server.
Gets the passive instances.
Gets the primary instance (null if there is no primary).
Gets the name of the replica set (null if not connected to a replica set).
Gets the connection reserved by the current RequestStart scope (null if not in the scope of a RequestStart).
Gets the RequestStart nesting level for the current thread.
Gets the secondary instances.
Gets the unique sequential Id for this server.
Gets the settings for this server.
Gets the current state of this server (as of the last operation, not updated until another operation is performed).
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
The credentials to use with this database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The settings to use with this database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
The credentials to use with this database.
The safe mode to use with this database.
A new or existing instance of MongoDatabase.
Gets a MongoDatabase instance representing a database on this server. Only one instance
is created for each combination of database settings.
The name of the database.
The safe mode to use with this database.
A new or existing instance of MongoDatabase.
An implementation of IQueryable{{T}} for querying a MongoDB collection.
This class has been named MongoQueryable instead of MongoQuery to avoid confusion with IMongoQuery.
The type of the documents being queried.
Initializes a new instance of the MongoQueryable class.
The query provider.
Initializes a new instance of the MongoQueryable class.
The query provider.
The expression.
Gets an enumerator for the results of a MongoDB LINQ query.
An enumerator for the results of a MongoDB LINQ query.
Gets the MongoDB query that will be sent to the server when this LINQ query is executed.
The MongoDB query.
Represents a BSON document that can be used where an IMongoSortBy is expected.
Initializes a new instance of the SortByDocument class.
Initializes a new instance of the SortByDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the SortByDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the SortByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the SortByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the SortByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the SortByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the SortByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the SortByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the SortByDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the SortByDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the SortByDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents a wrapped object that can be used where an IMongoFields is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the FieldsWrapper class.
The wrapped object.
Creates a new instance of the FieldsWrapper class.
The wrapped object.
A new instance of FieldsWrapper or null.
Represents what level of profile information to write.
Don't write profile information for any queries.
Write profile information for slow queries.
Write profile information for all queries.
A builder for specifying a sort order.
Adds keys to be sorted by in ascending order.
One or more key names.
The builder (so method calls can be chained).
Adds keys to be sorted by in descending order.
One or more key names.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoSortBy.
A builder for specifying a sort order.
Initializes a new instance of the SortByBuider class.
Adds keys to be sorted by in ascending order.
One or more key names.
The builder (so method calls can be chained).
Adds keys to be sorted by in descending order.
One or more key names.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
A builder for specifying the keys for an index.
Sets one or more key names to index in ascending order.
One or more key names.
The builder (so method calls can be chained).
Sets one or more key names to index in descending order.
One or more key names.
The builder (so method calls can be chained).
Sets the key name to create a geospatial index on.
The key name.
The builder (so method calls can be chained).
Sets the key name to create a geospatial haystack index on.
The key name.
The builder (so method calls can be chained).
Sets the key name and additional field name to create a geospatial haystack index on.
The key name.
The name of an additional field to index.
The builder (so method calls can be chained).
A builder for specifying the keys for an index.
Initializes a new instance of the IndexKeysBuilder class.
Sets one or more key names to index in ascending order.
One or more key names.
The builder (so method calls can be chained).
Sets one or more key names to index in descending order.
One or more key names.
The builder (so method calls can be chained).
Sets the key name to create a geospatial index on.
The key name.
The builder (so method calls can be chained).
Sets the key name to create a geospatial haystack index on.
The key name.
The builder (so method calls can be chained).
Sets the key name and additional field name to create a geospatial haystack index on.
The key name.
The name of an additional field to index.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
A builder for the options of the GeoHaystackSearch command.
Sets the maximum number of results to return.
The maximum number of results to return.
The builder (so method calls can be chained).
Sets the max distance.
The max distance.
The builder (so method calls can be chained).
Sets the query on the optional additional field.
The name of the additional field.
The value fo the additional field.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoGeoHaystackSearchOptions.
A builder for the options of the GeoHaystackSearch command.
Initializes a new instance of the GeoHaystackSearchOptionsBuilder class.
Sets the maximum number of results to return.
The maximum number of results to return.
The builder (so method calls can be chained).
Sets the max distance.
The max distance.
The builder (so method calls can be chained).
Sets the query on the optional additional field.
The name of the additional field.
The value fo the additional field.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
The state of a MongoServer instance.
Disconnected from the server.
Connecting to the server (in progress).
Connected to the server.
Connected to a subset of the replica set members.
The state is temporarily unknown.
Disconnecting from the server (in progress).
Represents an order by clause.
Initializes an instance of the OrderByClause class.
An expression identifying the key of the order by clause.
The direction of the order by clause.
Gets the lambda expression identifying the key of the order by clause.
Gets the direction of the order by clause.
Represents the direction of an order by clause.
Ascending order.
Descending order.
Represents the state of a connection.
The connection has not yet been initialized.
The connection is open.
The connection is closed.
Represents a connection to a MongoServerInstance.
Gets the connection pool that this connection belongs to.
Gets the DateTime that this connection was created at.
Gets the generation of the connection pool that this connection belongs to.
Gets the DateTime that this connection was last used at.
Gets a count of the number of messages that have been sent using this connection.
Gets the RequestId of the last message sent on this connection.
Gets the server instance this connection is connected to.
Gets the state of this connection.
Reprsents an enumerator that fetches the results of a query sent to the server.
The type of the documents returned.
Initializes a new instance of the MongoCursorEnumerator class.
The cursor to be enumerated.
Disposes of any resources held by this enumerator.
Moves to the next result and returns true if another result is available.
True if another result is available.
Resets the enumerator (not supported by MongoCursorEnumerator).
Gets the current document.
Gets whether the cursor is dead (used with tailable cursors).
Gets whether the server is await capable (used with tailable cursors).
Represents a MongoDB authentication exception
Initializes a new instance of the MongoAuthenticationException class.
The error message.
Initializes a new instance of the MongoAuthenticationException class.
The error message.
The inner exception.
Initializes a new instance of the MongoAuthenticationException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Represents a BSON document that can be used where an IMongoFields is expected.
Initializes a new instance of the FieldsDocument class.
Initializes a new instance of the FieldsDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the FieldsDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the FieldsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the FieldsDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the FieldsDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the FieldsDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
A class that pretty prints an Expression.
Initializes a new instance of the ExpressionPrettyPrinter class.
Pretty prints an Expression.
The Expression to pretty print.
A string containing the pretty printed Expression.
Returns the pretty printed string representation of the Expression.
The pretty printed string representation of the Expression.
Visits a BinaryExpression.
The BinaryExpression.
The BinaryExpression.
Visits a ConditionalExpression.
The ConditionalExpression.
The ConditionalExpression.
Visits a ConstantExpression.
The ConstantExpression.
The ConstantExpression.
Visits an ElementInit node.
The ElementInit node.
The ElementInit node.
Visits an ElementInit list.
The ElementInit list.
The ElementInit list.
Visits an InvocationExpression.
The InvocationExpression.
The InvocationExpression.
Visits a LambdaExpression.
The LambdaExpression.
The LambdaExpression.
Visits a ListInitExpression.
The ListInitExpression.
The ListInitExpression.
Visits a MemberExpression.
The MemberExpression.
The MemberExpression.
Visits a MemberAssignment.
The MemberAssignment.
The MemberAssignment.
Visits a MemberBinding.
The MemberBinding.
The MemberBinding (possibly modified).
Visits a MemberBinding list.
The MemberBinding list.
The MemberBinding list.
Visits a MemberInitExpression.
The MemberInitExpression.
The MemberInitExpression.
Visits a MemberListBinding.
The MemberListBinding.
The MemberListBinding.
Visits a MemberMemberBinding.
The MemberMemberBinding.
The MemberMemberBinding.
Visits a MethodCallExpression.
The MethodCallExpression.
The MethodCallExpression.
Visits a NewExpression.
The NewExpression.
The NewExpression.
Visits a NewArrayExpression.
The NewArrayExpression.
The NewArrayExpression.
Visits a ParameterExpression.
The ParameterExpression.
The ParameterExpression.
Visits a TypeBinaryExpression.
The TypeBinaryExpression.
The TypeBinaryExpression.
Visits a UnaryExpression.
The UnaryExpression.
The UnaryExpression.
This static class holds methods that can be used to express MongoDB specific query operations in LINQ queries.
Determines whether a sequence contains all of the specified values.
The type of the elements of source.
A sequence in which to locate the values.
The values to locate in the sequence.
True if the sequence contains all of the specified values.
Determines whether a sequence contains any of the specified values.
The type of the elements of source.
A sequence in which to locate the values.
The values to locate in the sequence.
True if the sequence contains any of the specified values.
Determines whether a specified value is contained in a sequence.
The type of the elements of source.
The value to locate in the sequence.
A sequence in which to locate the values.
True if the value is contained in the sequence.
Injects a low level IMongoQuery into a LINQ where clause. Can only be used in LINQ queries.
The low level query.
Throws an InvalidOperationException if called.
Represents a BSON document that can be used where an IMongoIndexKeys is expected.
Initializes a new instance of the IndexKeysDocument class.
Initializes a new instance of the IndexKeysDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the IndexKeysDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the IndexKeysDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the IndexKeysDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the IndexKeysDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents a MongoDB user.
Creates a new instance of MongoUser.
The user's credentials.
Whether the user has read-only access.
Creates a new instance of MongoUser.
The username.
The password hash.
Whether the user has read-only access.
Determines whether two specified MongoUser objects have different values.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is different from the value of rhs; otherwise, false.
Determines whether two specified MongoUser objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Determines whether two specified MongoUser objects have the same value.
The first value to compare, or null.
The second value to compare, or null.
True if the value of lhs is the same as the value of rhs; otherwise, false.
Calculates the password hash.
The username.
The password.
The password hash.
Determines whether this instance and another specified MongoUser object have the same value.
The MongoUser object to compare to this instance.
True if the value of the rhs parameter is the same as this instance; otherwise, false.
Determines whether this instance and a specified object, which must also be a MongoUser object, have the same value.
The MongoUser object to compare to this instance.
True if obj is a MongoUser object and its value is the same as this instance; otherwise, false.
Returns the hash code for this Class1 object.
A 32-bit signed integer hash code.
Returns a string representation of the credentials.
A string representation of the user.
Gets or sets the username.
Gets or sets the password hash.
Gets or sets whether the user is a read-only user.
Represents the output mode for a map reduce operation.
The output of the map reduce operation is returned inline.
The output of the map reduce operation replaces an existing collection.
The output of the map reduce operation is merged with an existing collection.
The output of the map reduce operation is merged with an existing collection using the reduce function.
Represents the output options of a map/reduce operation.
Creates a new instance of the MapReduceOutput class.
Creates a new instance of the MapReduceOutput class.
The name of the output collection.
Creates a new instance of the MapReduceOutput class.
The name of the database that will contain the output collection.
The name of the output collection.
Allows strings to be implicitly used as the name of the output collection.
The output collection name.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
The output collection name.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
The output collection name.
Whether the output collection is sharded.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
The output database name.
The output collection name.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (replaces the entire collection).
The output database name.
The output collection name.
Whether the output collection is sharded.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
The output collection name.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
The output collection name.
Whether the output collection is sharded.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
The output database name.
The output collection name.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (adding new values and overwriting existing ones).
The output database name.
The output collection name.
Whether the output collection is sharded.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
The output collection name.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
The output collection name.
Whether the output collection is sharded.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
The output database name.
The output collection name.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should be stored in a collection (using the reduce function to combine new values with existing values).
The output database name.
The output collection name.
Whether the output collection is sharded.
A MapReduceOutput.
Gets a MapReduceOutput value that specifies that the output should returned inline.
Gets or sets the name of the output collection.
Gets or sets the name of the database that will contain the output collection.
Gets or sets the output mode for the results of the map reduce operation.
Gets or sets whether the output collection is sharded.
A builder for the options of a Map/Reduce operation.
Sets the finalize function.
The finalize function.
The builder (so method calls can be chained).
Sets whether to use jsMode for the map reduce operation.
Whether to use jsMode.
The builder (so method calls can be chained).
Sets whether to keep the temp collection (obsolete in 1.8.0+).
Whether to keep the temp collection.
The builder (so method calls can be chained).
Sets the number of documents to send to the map function (useful in combination with SetSortOrder).
The number of documents to send to the map function.
The builder (so method calls can be chained).
Sets the output option (see MapReduceOutput).
The output option.
The builder (so method calls can be chained).
Sets the optional query that filters which documents are sent to the map function (also useful in combination with SetSortOrder and SetLimit).
The query.
The builder (so method calls can be chained).
Sets a scope that contains variables that can be accessed by the map, reduce and finalize functions.
The scope.
The builder (so method calls can be chained).
Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it).
The sort order.
The builder (so method calls can be chained).
Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it).
The names of the keys to sort by.
The builder (so method calls can be chained).
Sets whether the server should be more verbose when logging map/reduce operations.
Whether the server should be more verbose.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoMapReduceOptions.
A builder for the options of a Map/Reduce operation.
Initializes a new instance of the MapReduceOptionsBuilder class.
Sets the finalize function.
The finalize function.
The builder (so method calls can be chained).
Sets whether to use jsMode for the map reduce operation.
Whether to use jsMode.
The builder (so method calls can be chained).
Sets whether to keep the temp collection (obsolete in 1.8.0+).
Whether to keep the temp collection.
The builder (so method calls can be chained).
Sets the number of documents to send to the map function (useful in combination with SetSortOrder).
The number of documents to send to the map function.
The builder (so method calls can be chained).
Sets the output option (see MapReduceOutput).
The output option.
The builder (so method calls can be chained).
Sets the optional query that filters which documents are sent to the map function (also useful in combination with SetSortOrder and SetLimit).
The query.
The builder (so method calls can be chained).
Sets a scope that contains variables that can be accessed by the map, reduce and finalize functions.
The scope.
The builder (so method calls can be chained).
Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it).
The sort order.
The builder (so method calls can be chained).
Sets the sort order (useful in combination with SetLimit, your map function should not depend on the order the documents are sent to it).
The names of the keys to sort by.
The builder (so method calls can be chained).
Sets whether the server should be more verbose when logging map/reduce operations.
Whether the server should be more verbose.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
A builder for the options of the GeoNear command.
Sets the distance multiplier.
The distance multiplier.
The builder (so method calls can be chained).
Sets the max distance.
The max distance.
The builder (so method calls can be chained).
Sets whether to use a spherical search.
Whether to use a spherical search.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoGeoNearOptions.
A builder for the options of the GeoNear command.
Initializes a new instance of the GeoNearOptionsBuilder class.
Sets the distance multiplier.
The distance multiplier.
The builder (so method calls can be chained).
Sets the max distance.
The max distance.
The builder (so method calls can be chained).
Sets whether to use a spherical search.
Whether to use a spherical search.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
Represents a MongoDB internal exception (almost surely the result of a bug).
Initializes a new instance of the MongoInternalException class.
The error message.
Initializes a new instance of the MongoInternalException class.
The error message.
The inner exception.
Initializes a new instance of the MongoInternalException class (this overload supports deserialization).
The SerializationInfo.
The StreamingContext.
Represents a BSON document that can be used where an IMongoUpdate is expected.
Initializes a new instance of the UpdateDocument class.
Initializes a new instance of the UpdateDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the UpdateDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the UpdateDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the UpdateDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the UpdateDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the UpdateDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the UpdateDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the UpdateDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the UpdateDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the UpdateDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the UpdateDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents a BSON document that can be used where an IMongoIndexOptions is expected.
Initializes a new instance of the IndexOptionsDocument class.
Initializes a new instance of the IndexOptionsDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the IndexOptionsDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the IndexOptionsDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the IndexOptionsDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the IndexOptionsDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents the options to use for an Insert or InsertBatch operation.
Initializes a new instance of the MongoInsertOptions class.
Initializes a new instance of the MongoInsertOptions class.
The collection from which to get default settings for the options.
Gets or sets whether to check element names before proceeding with the Insert.
Gets or sets the insert flags.
Gets or sets the SafeMode to use for the Insert.
Represents the result of the database stats command.
Initializes a new instance of the DatabaseStatsResult class.
Gets the average object size.
Gets the collection count.
Gets the data size.
Gets the extent count.
Gets the file size.
Gets the index count.
Gets the index size.
Gets the object count.
Gets the storage size.
A builder for the options used when creating a collection.
Sets whether to automatically create an index on the _id element.
Whether to automatically create an index on the _id element.
The builder (so method calls can be chained).
Sets whether the collection is capped.
Whether the collection is capped.
The builder (so method calls can be chained).
Sets the max number of documents in a capped collection.
The max number of documents.
The builder (so method calls can be chained).
Sets the max size of a capped collection.
The max size.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoCollectionOptions.
A builder for the options used when creating a collection.
Initializes a new instance of the CollectionOptionsBuilder class.
Sets whether to automatically create an index on the _id element.
Whether to automatically create an index on the _id element.
The builder (so method calls can be chained).
Sets whether the collection is capped.
Whether the collection is capped.
The builder (so method calls can be chained).
Sets the max number of documents in a capped collection.
The max number of documents.
The builder (so method calls can be chained).
Sets the max size of a capped collection.
The max size.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.
Server connection mode.
Connect directly to a server.
Connect to a replica set.
Represents an immutable URL style connection string. See also MongoUrlBuilder.
Creates a new instance of MongoUrl.
The URL containing the settings.
Compares two MongoUrls.
The first URL.
The other URL.
True if the two URLs are equal (or both null).
Compares two MongoUrls.
The first URL.
The other URL.
True if the two URLs are not equal (or one is null and the other is not).
Clears the URL cache. When a URL is parsed it is stored in the cache so that it doesn't have to be
parsed again. There is rarely a need to call this method.
Creates an instance of MongoUrl (might be an existing existence if the same URL has been used before).
The URL containing the settings.
An instance of MongoUrl.
Compares two MongoUrls.
The other URL.
True if the two URLs are equal.
Compares two MongoUrls.
The other URL.
True if the two URLs are equal.
Gets the hash code.
The hash code.
Creates a new instance of MongoServerSettings based on the settings in this MongoUrlBuilder.
A new instance of MongoServerSettings.
Returns the canonical URL based on the settings in this MongoUrlBuilder.
The canonical URL.
Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize).
Gets the connection mode.
Gets the connect timeout.
Gets the optional database name.
Gets the default credentials.
Gets the representation to use for Guids.
Gets whether to use IPv6.
Gets the max connection idle time.
Gets the max connection life time.
Gets the max connection pool size.
Gets the min connection pool size.
Gets the name of the replica set.
Gets the SafeMode to use.
Gets the address of the server (see also Servers if using more than one address).
Gets the list of server addresses (see also Server if using only one address).
Gets whether queries should be sent to secondary servers.
Gets the socket timeout.
Gets the URL (in canonical form).
Gets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize).
Gets the wait queue size.
Gets the wait queue timeout.
A translator from LINQ expression queries to Mongo queries.
Translate a MongoDB LINQ query.
The MongoDB LINQ query.
A TranslatedQuery.
Translate a MongoDB LINQ query.
The MongoDB query provider.
The LINQ query expression.
A TranslatedQuery.
Represents a wrapped object that can be used where an IMongoCommand is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the CommandWrapper class.
The wrapped object.
Creates a new instance of the CommandWrapper class.
The wrapped object.
A new instance of CommandWrapper or null.
Represents the results of a validate collection command.
Initializes a new instance of the ValidateCollectionResult class.
Gets the data size of the collection.
Gets the number of documents that have been deleted from the collection.
Gets the number of documents that have been deleted from the collection.
Gets the errors returned by validate (or an empty array if there were no errors).
Gets the number of extents in the collection.
Gets the first extent of the collection.
Gets details of the first extent of the collection.
Gets the number of indexes in the collection.
Gets whether the collection is valid.
Gets a dictionary containing the number of keys per index.
Gets the last extent of the collection.
Gets the size of the last extent of the collection.
Gets the namespace.
Gets the padding factor of the collection.
Gets the number of records in the collection.
Gets the result string.
Gets any warning returned by the validate command (or null if there is no warning).
Represents the details of the first extent of the collection.
Gets the location of the extent.
Gets the location of the first record of the extent.
Gets the location of the last record of the extent.
Gets the nsdiag value of the extent.
Gets the size of the extent.
Gets the next extent.
Gets the prev extent.
Represents the result of a GeoHaystackSearch command.
Initializes a new instance of the GeoHaystackSearchResult class.
Gets the hits.
Gets the stats.
Gets the hits.
Represents a collection of GeoHaystackSearch hits.
Initializes a new instance of the GeoHaystackSearchHits class.
Gets an enumerator for the hits.
An enumerator.
Gets the enumerator.
An enumerator.
Gets an individual hit.
The zero based index of the hit.
The hit.
Gets the count of the number of hits.
Gets an individual hit.
The zero based index of the hit.
The hit.
Represents a GeoHaystackSearch hit.
Initializes a new instance of the GeoHaystackSearchHit class.
The hit.
Gets the document.
Gets the document as a BsonDocument.
Gets the document.
Represents the stats of a GeoHaystackSearch command.
Initializes a new instance of the GeoHaystackSearchStats class.
The stats.
Gets the count of b-tree matches.
Gets the duration.
Gets the number of hits.
Represents the result of a GeoHaystackSearch command.
The type of the returned documents.
Initializes a new instance of the GeoHaystackSearchResult class.
Gets the hits.
Gets the hits.
Represents a collection of GeoHaystackSearch hits.
Initializes a new instance of the GeoHaystackSearchHits class.
The hits.
Gets an enumerator for the hits.
An enumerator.
Gets a hit.
The zero based index of the hit.
The hit.
Gets an enumerator for the hits.
An enumerator.
Gets the count of the number of hits.
Gets an individual hit.
The zero based index of the hit.
The hit.
Represents a GeoHaystackSearch hit.
Initializes a new instance of the GeoHaystackSearchHit class.
The hit.
Gets the document.
Gets the document.
Flags used with the Remove method of MongoCollection.
No flags.
Remove only a single document.
Credentials to access a MongoDB database.
Creates a new instance of MongoCredentials.
The username.
The password.
Creates a new instance of MongoCredentials.
The username.
The password.
Whether the credentials should be validated against the admin database.
Creates an instance of MongoCredentials.
The username.
The password.
A new instance of MongoCredentials (or null if either parameter is null).
Compares two MongoCredentials.
The first MongoCredentials.
The other MongoCredentials.
True if the two MongoCredentials are equal (or both null).
Compares two MongoCredentials.
The first MongoCredentials.
The other MongoCredentials.
True if the two MongoCredentials are not equal (or one is null and the other is not).
Compares this MongoCredentials to another MongoCredentials.
The other credentials.
True if the two credentials are equal.
Compares this MongoCredentials to another MongoCredentials.
The other credentials.
True if the two credentials are equal.
Gets the hashcode for the credentials.
The hashcode.
Returns a string representation of the credentials.
A string representation of the credentials.
Gets the username.
Gets the password.
Gets whether the credentials should be validated against the admin database.
Represents a MongoDB collection and the settings used to access it. This class is thread-safe.
Protected constructor for abstract base class.
The database that contains this collection.
The settings to use to access this collection.
Counts the number of documents in this collection.
The number of documents in this collection.
Counts the number of documents in this collection that match a query.
The query (usually a QueryDocument or constructed using the Query builder).
The number of documents in this collection that match the query.
Creates an index for this collection.
The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder).
The index options(usually an IndexOptionsDocument or created using the IndexOption builder).
A SafeModeResult.
Creates an index for this collection.
The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder).
A SafeModeResult.
Creates an index for this collection.
The names of the indexed fields.
A SafeModeResult.
Returns the distinct values for a given field.
The key of the field.
The distint values of the field.
Returns the distinct values for a given field for documents that match a query.
The key of the field.
The query (usually a QueryDocument or constructed using the Query builder).
The distint values of the field.
Drops this collection.
A CommandResult.
Drops all indexes on this collection.
A .
Drops an index on this collection.
The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder).
A .
Drops an index on this collection.
The names of the indexed fields.
A .
Drops an index on this collection.
The name of the index.
A .
Ensures that the desired index exists and creates it if it does not.
The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder).
The index options(usually an IndexOptionsDocument or created using the IndexOption builder).
Ensures that the desired index exists and creates it if it does not.
The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder).
Ensures that the desired index exists and creates it if it does not.
The names of the indexed fields.
Tests whether this collection exists.
True if this collection exists.
Returns a cursor that can be used to find all documents in this collection as TDocuments.
The nominal type of the documents.
A .
Returns a cursor that can be used to find all documents in this collection as TDocuments.
The nominal type of the documents.
A .
Finds one matching document using the query and sortBy parameters and applies the specified update to it.
The query (usually a QueryDocument or constructed using the Query builder).
The sort order to select one of the matching documents.
The update to apply to the matching document.
A .
Finds one matching document using the query and sortBy parameters and applies the specified update to it.
The query (usually a QueryDocument or constructed using the Query builder).
The sort order to select one of the matching documents.
The update to apply to the matching document.
Whether to return the new or old version of the modified document in the .
A .
Finds one matching document using the query and sortBy parameters and applies the specified update to it.
The query (usually a QueryDocument or constructed using the Query builder).
The sort order to select one of the matching documents.
The update to apply to the matching document.
Whether to return the new or old version of the modified document in the .
Whether to do an upsert if no matching document is found.
A .
Finds one matching document using the query and sortBy parameters and applies the specified update to it.
The query (usually a QueryDocument or constructed using the Query builder).
The sort order to select one of the matching documents.
The update to apply to the matching document.
Which fields of the modified document to return in the .
Whether to return the new or old version of the modified document in the .
Whether to do an upsert if no matching document is found.
A .
Finds one matching document using the query and sortBy parameters and removes it from this collection.
The query (usually a QueryDocument or constructed using the Query builder).
The sort order to select one of the matching documents.
A .
Returns a cursor that can be used to find all documents in this collection that match the query as TDocuments.
The type to deserialize the documents as.
The query (usually a QueryDocument or constructed using the Query builder).
A .
Returns a cursor that can be used to find all documents in this collection that match the query as TDocuments.
The nominal type of the documents.
The query (usually a QueryDocument or constructed using the Query builder).
A .
Returns a cursor that can be used to find one document in this collection as a TDocument.
The type to deserialize the documents as.
A TDocument (or null if not found).
Returns a cursor that can be used to find one document in this collection that matches a query as a TDocument.
The type to deserialize the documents as.
The query (usually a QueryDocument or constructed using the Query builder).
A TDocument (or null if not found).
Returns a cursor that can be used to find one document in this collection as a TDocument.
The nominal type of the documents.
A document (or null if not found).
Returns a cursor that can be used to find one document in this collection that matches a query as a TDocument.
The type to deserialize the documents as.
The query (usually a QueryDocument or constructed using the Query builder).
A TDocument (or null if not found).
Returns a cursor that can be used to find one document in this collection by its _id value as a TDocument.
The nominal type of the document.
The id of the document.
A TDocument (or null if not found).
Returns a cursor that can be used to find one document in this collection by its _id value as a TDocument.
The nominal type of the document.
The id of the document.
A TDocument (or null if not found).
Runs a geoHaystack search command on this collection.
The type of the found documents.
The x coordinate of the starting location.
The y coordinate of the starting location.
The options for the geoHaystack search (null if none).
A .
Runs a geoHaystack search command on this collection.
The type to deserialize the documents as.
The x coordinate of the starting location.
The y coordinate of the starting location.
The options for the geoHaystack search (null if none).
A .
Runs a GeoNear command on this collection.
The type to deserialize the documents as.
The query (usually a QueryDocument or constructed using the Query builder).
The x coordinate of the starting location.
The y coordinate of the starting location.
The maximum number of results returned.
A .
Runs a GeoNear command on this collection.
The type to deserialize the documents as.
The query (usually a QueryDocument or constructed using the Query builder).
The x coordinate of the starting location.
The y coordinate of the starting location.
The maximum number of results returned.
The GeoNear command options (usually a GeoNearOptionsDocument or constructed using the GeoNearOptions builder).
A .
Runs a GeoNear command on this collection.
The type to deserialize the documents as.
The query (usually a QueryDocument or constructed using the Query builder).
The x coordinate of the starting location.
The y coordinate of the starting location.
The maximum number of results returned.
A .
Runs a GeoNear command on this collection.
The type to deserialize the documents as.
The query (usually a QueryDocument or constructed using the Query builder).
The x coordinate of the starting location.
The y coordinate of the starting location.
The maximum number of results returned.
The GeoNear command options (usually a GeoNearOptionsDocument or constructed using the GeoNearOptions builder).
A .
Gets the indexes for this collection.
A list of BsonDocuments that describe the indexes.
Gets the stats for this collection.
The stats for this collection as a .
Gets the total data size for this collection (data + indexes).
The total data size.
Gets the total storage size for this collection (data + indexes + overhead).
The total storage size.
Runs the group command on this collection.
The query (usually a QueryDocument or constructed using the Query builder).
A JavaScript function that returns the key value to group on.
Initial value passed to the reduce function for each group.
A JavaScript function that is called for each matching document in a group.
A JavaScript function that is called at the end of the group command.
A list of results as BsonDocuments.
Runs the group command on this collection.
The query (usually a QueryDocument or constructed using the Query builder).
The names of the fields to group on.
Initial value passed to the reduce function for each group.
A JavaScript function that is called for each matching document in a group.
A JavaScript function that is called at the end of the group command.
A list of results as BsonDocuments.
Runs the group command on this collection.
The query (usually a QueryDocument or constructed using the Query builder).
The name of the field to group on.
Initial value passed to the reduce function for each group.
A JavaScript function that is called for each matching document in a group.
A JavaScript function that is called at the end of the group command.
A list of results as BsonDocuments.
Tests whether an index exists.
The indexed fields (usually an IndexKeysDocument or constructed using the IndexKeys builder).
True if the index exists.
Tests whether an index exists.
The names of the fields in the index.
True if the index exists.
Tests whether an index exists.
The name of the index.
True if the index exists.
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The nominal type of the document to insert.
The document to insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The nominal type of the document to insert.
The document to insert.
The options to use for this Insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The nominal type of the document to insert.
The document to insert.
The SafeMode to use for this Insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The nominal type of the document to insert.
The document to insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The nominal type of the document to insert.
The document to insert.
The options to use for this Insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The nominal type of the document to insert.
The document to insert.
The SafeMode to use for this Insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The type of the documents to insert.
The documents to insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The type of the documents to insert.
The documents to insert.
The options to use for this Insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The type of the documents to insert.
The documents to insert.
The SafeMode to use for this Insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The nominal type of the documents to insert.
The documents to insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The nominal type of the documents to insert.
The documents to insert.
The SafeMode to use for this Insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The nominal type of the documents to insert.
The documents to insert.
The options to use for this Insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Tests whether this collection is capped.
True if this collection is capped.
Runs a Map/Reduce command on this collection.
A JavaScript function called for each document.
A JavaScript function called on the values emitted by the map function.
Options for this map/reduce command (see , and the builder).
A .
Runs a Map/Reduce command on document in this collection that match a query.
The query (usually a QueryDocument or constructed using the Query builder).
A JavaScript function called for each document.
A JavaScript function called on the values emitted by the map function.
Options for this map/reduce command (see , and the builder).
A .
Runs a Map/Reduce command on document in this collection that match a query.
The query (usually a QueryDocument or constructed using the Query builder).
A JavaScript function called for each document.
A JavaScript function called on the values emitted by the map function.
A .
Runs a Map/Reduce command on this collection.
A JavaScript function called for each document.
A JavaScript function called on the values emitted by the map function.
A .
Runs the ReIndex command on this collection.
A CommandResult.
Removes documents from this collection that match a query.
The query (usually a QueryDocument or constructed using the Query builder).
A SafeModeResult (or null if SafeMode is not being used).
Removes documents from this collection that match a query.
The query (usually a QueryDocument or constructed using the Query builder).
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Removes documents from this collection that match a query.
The query (usually a QueryDocument or constructed using the Query builder).
The flags for this Remove (see ).
A SafeModeResult (or null if SafeMode is not being used).
Removes documents from this collection that match a query.
The query (usually a QueryDocument or constructed using the Query builder).
The flags for this Remove (see ).
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Removes all documents from this collection (see also ).
A SafeModeResult (or null if SafeMode is not being used).
Removes all documents from this collection (see also ).
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Removes all entries for this collection in the index cache used by EnsureIndex. Call this method
when you know (or suspect) that a process other than this one may have dropped one or
more indexes.
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The type of the document to save.
The document to save.
A SafeModeResult (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The type of the document to save.
The document to save.
The options to use for this Save.
A SafeModeResult (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The type of the document to save.
The document to save.
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The type of the document to save.
The document to save.
A SafeModeResult (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The type of the document to save.
The document to save.
The options to use for this Save.
A SafeModeResult (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The type of the document to save.
The document to save.
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Gets a canonical string representation for this database.
A canonical string representation for this database.
Updates one matching document in this collection.
The query (usually a QueryDocument or constructed using the Query builder).
The update to perform on the matching document.
A SafeModeResult (or null if SafeMode is not being used).
Updates one or more matching documents in this collection (for multiple updates use UpdateFlags.Multi).
The query (usually a QueryDocument or constructed using the Query builder).
The update to perform on the matching document.
The update options.
A SafeModeResult (or null if SafeMode is not being used).
Updates one matching document in this collection.
The query (usually a QueryDocument or constructed using the Query builder).
The update to perform on the matching document.
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Updates one or more matching documents in this collection (for multiple updates use UpdateFlags.Multi).
The query (usually a QueryDocument or constructed using the Query builder).
The update to perform on the matching document.
The flags for this Update.
A SafeModeResult (or null if SafeMode is not being used).
Updates one or more matching documents in this collection (for multiple updates use UpdateFlags.Multi).
The query (usually a QueryDocument or constructed using the Query builder).
The update to perform on the matching document.
The flags for this Update.
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Validates the integrity of this collection.
A .
Gets the database that contains this collection.
Gets the fully qualified name of this collection.
Gets the name of this collection.
Gets the settings being used to access this collection.
Represents a MongoDB collection and the settings used to access it as well as a default document type. This class is thread-safe.
The default document type of the collection.
Creates a new instance of MongoCollection. Normally you would call one of the indexers or GetCollection methods
of MongoDatabase instead.
The database that contains this collection.
The settings to use to access this collection.
Returns a cursor that can be used to find all documents in this collection that match the query as TDefaultDocuments.
The query (usually a QueryDocument or constructed using the Query builder).
A .
Returns a cursor that can be used to find all documents in this collection as TDefaultDocuments.
A .
Returns a cursor that can be used to find one document in this collection as a TDefaultDocument.
A TDefaultDocument (or null if not found).
Returns a cursor that can be used to find one document in this collection that matches a query as a TDefaultDocument.
The query (usually a QueryDocument or constructed using the Query builder).
A TDefaultDocument (or null if not found).
Returns a cursor that can be used to find one document in this collection by its _id value as a TDefaultDocument.
The id of the document.
A TDefaultDocument (or null if not found).
Runs a geoHaystack search command on this collection.
The x coordinate of the starting location.
The y coordinate of the starting location.
The options for the geoHaystack search (null if none).
A .
Runs a GeoNear command on this collection.
The query (usually a QueryDocument or constructed using the Query builder).
The x coordinate of the starting location.
The y coordinate of the starting location.
The maximum number of results returned.
A .
Runs a GeoNear command on this collection.
The query (usually a QueryDocument or constructed using the Query builder).
The x coordinate of the starting location.
The y coordinate of the starting location.
The maximum number of results returned.
Options for the GeoNear command (see , , and the builder).
A .
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The document to insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The document to insert.
The options to use for this Insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts a document into this collection (see also InsertBatch to insert multiple documents at once).
The document to insert.
The SafeMode to use for this Insert.
A SafeModeResult (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The documents to insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The documents to insert.
The options to use for this Insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Inserts multiple documents at once into this collection (see also Insert to insert a single document).
The documents to insert.
The SafeMode to use for this Insert.
A list of SafeModeResults (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The document to save.
A SafeModeResult (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The document to save.
The options to use for this Save.
A SafeModeResult (or null if SafeMode is not being used).
Saves a document to this collection. The document must have an identifiable Id field. Based on the value
of the Id field Save will perform either an Insert or an Update.
The document to save.
The SafeMode to use for this operation.
A SafeModeResult (or null if SafeMode is not being used).
Represents a wrapped object that can be used where an IMongoUpdate is expected (the wrapped object is expected to serialize properly).
Initializes a new instance of the UpdateWrapper class.
The nominal type of the wrapped object.
The wrapped object.
Creates a new instance of the UpdateWrapper class (this overload is used when the update
modifier is a replacement document).
The nominal type of the wrapped object.
The wrapped object.
A new instance of UpdateWrapper or null.
Creates a new instance of the UpdateWrapper class.
The nominal type of the wrapped object.
The wrapped object.
A new instance of UpdateWrapper or null.
Represents a BSON document that can be used where an IMongoGroupBy is expected.
Initializes a new instance of the GroupByDocument class.
Initializes a new instance of the GroupByDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the GroupByDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the GroupByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GroupByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GroupByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GroupByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GroupByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the GroupByDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the GroupByDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the GroupByDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the GroupByDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Represents URL style connection strings. This is the recommended connection string style, but see also
MongoConnectionStringBuilder if you wish to use .NET style connection strings.
Creates a new instance of MongoUrlBuilder.
Creates a new instance of MongoUrlBuilder.
The initial settings.
Parses a URL and sets all settings to match the URL.
The URL.
Creates a new instance of MongoUrl based on the settings in this MongoUrlBuilder.
A new instance of MongoUrl.
Creates a new instance of MongoServerSettings based on the settings in this MongoUrlBuilder.
A new instance of MongoServerSettings.
Returns the canonical URL based on the settings in this MongoUrlBuilder.
The canonical URL.
Gets the actual wait queue size (either WaitQueueSize or WaitQueueMultiple x MaxConnectionPoolSize).
Gets or sets the connection mode.
Gets or sets the connect timeout.
Gets or sets the optional database name.
Gets or sets the default credentials.
Gets or sets the representation to use for Guids.
Gets or sets whether to use IPv6.
Gets or sets the max connection idle time.
Gets or sets the max connection life time.
Gets or sets the max connection pool size.
Gets or sets the min connection pool size.
Gets or sets the name of the replica set.
Gets or sets the SafeMode to use.
Gets or sets the address of the server (see also Servers if using more than one address).
Gets or sets the list of server addresses (see also Server if using only one address).
Gets or sets whether queries should be sent to secondary servers.
Gets or sets the socket timeout.
Gets or sets the wait queue multiple (the actual wait queue size will be WaitQueueMultiple x MaxConnectionPoolSize).
Gets or sets the wait queue size.
Gets or sets the wait queue timeout.
Flags used with the Eval method in MongoDatabase.
No flags.
Do not take a write lock.
Represents the result of a FindAndModify command.
Initializes a new instance of the FindAndModifyResult class.
Gets the modified document as a TDocument.
The nominal type of the modified document.
The modified document.
Gets the modified document as a TDocument.
The nominal type of the modified document.
The modified document.
Gets the modified document.
Represents the results of the collection stats command.
Initializes a new instance of the CollectionStatsResult class.
Gets the average object size.
Gets the data size.
Gets the extent count.
Gets the flags.
Gets the index count.
Gets the index sizes.
Gets whether the collection is capped.
Gets the last extent size.
Gets the index count.
Gets the namespace.
Gets the object count.
Gets the padding factor.
Gets the storage size.
Gets the total index size.
Represents a collection of index sizes.
Initializes a new instance of the IndexSizesResult class.
The index sizes document.
Tests whether the results contain the size of an index.
The name of the index.
True if the results contain the size of the index.
Gets the size of an index.
The name of the index.
The size of the index.
Gets the count of indexes.
Gets the names of the indexes.
Gets the sizes of the indexes.
A builder for specifying which fields of a document the server should return.
Adds one or more field names to be excluded from the results.
One or more field names.
The builder (so method calls can be chained).
Adds one or more field names to be included in the results.
One or more field names.
The builder (so method calls can be chained).
Adds a slice to be included in the results.
The name of the field to slice.
The size of the slice (negative sizes are taken from the end).
The builder (so method calls can be chained).
Adds a slice to be included in the results.
The name of the field to slice.
The number of values to skip.
The number of values to extract.
The builder (so method calls can be chained).
Gets a null value with a type of IMongoFields.
A builder for specifying which fields of a document the server should return.
Initializes a new instance of the FieldsBuilder class.
Adds one or more field names to be excluded from the results.
One or more field names.
The builder (so method calls can be chained).
Adds one or more field names to be included in the results.
One or more field names.
The builder (so method calls can be chained).
Adds a slice to be included in the results.
The name of the field to slice.
The size of the slice (negative sizes are taken from the end).
The builder (so method calls can be chained).
Adds a slice to be included in the results.
The name of the field to slice.
The number of values to skip.
The number of values to extract.
The builder (so method calls can be chained).
Returns the result of the builder as a BsonDocument.
A BsonDocument.
Serializes the result of the builder to a BsonWriter.
The writer.
The nominal type.
The serialization options.