diff --git a/Dependencies/MongoDB.Bson.dll b/Dependencies/MongoDB.Bson.dll index fd44021..8100a96 100644 Binary files a/Dependencies/MongoDB.Bson.dll and b/Dependencies/MongoDB.Bson.dll differ diff --git a/Dependencies/MongoDB.Bson.pdb b/Dependencies/MongoDB.Bson.pdb index f472f17..19bb627 100644 Binary files a/Dependencies/MongoDB.Bson.pdb and b/Dependencies/MongoDB.Bson.pdb differ diff --git a/Dependencies/MongoDB.Bson.xml b/Dependencies/MongoDB.Bson.xml index 9e4b49b..8b1af06 100644 --- a/Dependencies/MongoDB.Bson.xml +++ b/Dependencies/MongoDB.Bson.xml @@ -1696,6 +1696,11 @@ Represents a BSON array that is deserialized lazily. + + + Represents a BSON array that is not materialized until you start using it. + + Represents a BSON array. @@ -2836,161 +2841,171 @@ The position. The value. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The slice. - slice - LazyBsonArray cannot be used with an IByteBuffer that needs disposing. - + Adds an element to the array. The value to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + Adds multiple elements to the array. A list of values to add to the array. The array (so method calls can be chained). - + - Creates a shallow clone of the array (see also DeepClone). + Clears the array. - A shallow clone of the array. - + - Clears the array. + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + - + Compares the array to another array. The other array. A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other. - + Compares the array to another BsonValue. The other BsonValue. A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue. - + Tests whether the array contains a value. The value to test for. True if the array contains the value. - + Copies elements from this array to another array. The other array. The zero based index of the other array at which to start copying. - + Copies elements from this array to another array as raw values (see BsonValue.RawValue). The other array. The zero based index of the other array at which to start copying. - + Creates a deep clone of the array (see also Clone). - A deep clone of the array. + + A deep clone of the array. + - + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + Gets an enumerator that can enumerate the elements of the array. An enumerator. - + Gets the hash code. The hash code. - + Gets the index of a value in the array. The value to search for. The zero based index of the value (or -1 if not found). - + Gets the index of a value in the array. @@ -2998,7 +3013,7 @@ The zero based index at which to start the search. The zero based index of the value (or -1 if not found). - + Gets the index of a value in the array. @@ -3007,96 +3022,167 @@ The number of elements to search. The zero based index of the value (or -1 if not found). - + Inserts a new value into the array. The zero based index at which to insert the new value. The new value. - + Removes the first occurrence of a value from the array. The value to remove. True if the value was removed. - + Removes an element from the array. The zero based index of the element to remove. - + Converts the BsonArray to an array of BsonValues. An array of BsonValues. - + Converts the BsonArray to a list of BsonValues. A list of BsonValues. - + Returns a string representation of the array. A string representation of the array. - + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - + + + Materializes the BsonArray. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + Throws if disposed. - + Gets or sets the total number of elements the internal data structure can hold without resizing. - + Gets the count of array elements. - + - Gets the array elements as raw values (see BsonValue.RawValue). + Gets a value indicating whether this instance is disposed. + + true if this instance is disposed; otherwise, false. + - + - Gets the slice. + Gets a value indicating whether this instance is materialized. - The slice. + true if this instance is materialized; otherwise, false. - + + + Gets the array elements as raw values (see BsonValue.RawValue). + + + Gets the array elements. - + Gets or sets a value by position. The position. The value. + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonArray cannot be used with an IByteBuffer that needs disposing. + + + + Creates a shallow clone of the array (see also DeepClone). + + A shallow clone of the array. + + + + Creates a deep clone of the array (see also Clone). + + A deep clone of the array. + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonArray. + + + The materialized values. + + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the slice. + + + The slice. + + Represents a BSON document that is deserialized lazily. + + + Represents a BSON document that is not materialized until you start using it. + + Represents a BSON document. @@ -3374,6 +3460,16 @@ Whether to add the element to the document. The document (so method calls can be chained). + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + Adds elements to the document from a dictionary of key/value pairs. @@ -3723,21 +3819,12 @@ The name. The value. - + - Initializes a new instance of the class. + Initializes a new instance of the class. - The slice. - slice - LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. - - - Initializes a new instance of the class. - - The bytes. - - + Adds an element to the document. @@ -3746,14 +3833,14 @@ The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. The dictionary. The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. @@ -3761,14 +3848,14 @@ Which keys of the hash table to add. The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. The dictionary. The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. @@ -3776,14 +3863,14 @@ Which keys of the hash table to add. The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. The dictionary. The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. @@ -3791,21 +3878,21 @@ Which keys of the hash table to add. The document (so method calls can be chained). - + Adds a list of elements to the document. The list of elements. The document (so method calls can be chained). - + Adds a list of elements to the document. The list of elements. The document (so method calls can be chained). - + Creates and adds an element to the document. @@ -3815,7 +3902,7 @@ The document (so method calls can be chained). - + Creates and adds an element to the document, but only if the condition is true. @@ -3824,7 +3911,17 @@ Whether to add the element to the document. The document (so method calls can be chained). - + + + Creates and adds an element to the document, but only if the condition is true. + If the condition is false the value factory is not called at all. + + The name of the element. + A delegate called to compute the value of the element if condition is true. + Whether to add the element to the document. + The document (so method calls can be chained). + + Adds elements to the document from a dictionary of key/value pairs. @@ -3833,7 +3930,7 @@ The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. @@ -3842,7 +3939,7 @@ The document (so method calls can be chained). - + Adds a list of elements to the document. @@ -3851,7 +3948,7 @@ The document (so method calls can be chained). - + Adds elements to the document from a dictionary of key/value pairs. @@ -3860,12 +3957,12 @@ The document (so method calls can be chained). - + Clears the document (removes all elements). - + Creates a shallow clone of the document (see also DeepClone). @@ -3873,7 +3970,7 @@ A shallow clone of the document. - + Compares this document to another document. @@ -3882,14 +3979,14 @@ A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other. - + Compares the BsonDocument to another BsonValue. The other BsonValue. A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue. - + Tests whether the document contains an element with the specified name. @@ -3898,7 +3995,7 @@ True if the document contains an element with the specified name. - + Tests whether the document contains an element with the specified value. @@ -3907,7 +4004,7 @@ True if the document contains an element with the specified value. - + Creates a deep clone of the document (see also Clone). @@ -3915,12 +4012,30 @@ A deep clone of the document. - + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - + + + Determines whether the specified , is equal to this instance. + + The to compare with this instance. + + true if the specified is equal to this instance; otherwise, false. + + + + + Gets the Id of the document. + + The Id of the document (the RawValue if it has one, otherwise the element Value). + The nominal type of the Id. + The IdGenerator for the Id (or null). + True (a BsonDocument either has an Id member or one can be added). + + Gets an element of this document. @@ -3929,7 +4044,7 @@ The element. - + Gets an element of this document. @@ -3938,7 +4053,7 @@ A BsonElement. - + Gets an enumerator that can be used to enumerate the elements of this document. @@ -3946,7 +4061,7 @@ An enumerator. - + Returns a hash code for this instance. @@ -3954,7 +4069,7 @@ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - + Gets the value of an element. @@ -3963,7 +4078,7 @@ The value of the element. - + Gets the value of an element. @@ -3972,7 +4087,7 @@ The value of the element. - + Gets the value of an element or a default value if the element is not found. @@ -3982,14 +4097,14 @@ The value of the element or the default value if the element is not found. - + Inserts a new element at a specified position. The position of the new element. The element. - + Merges another document into this one. Existing elements are not overwritten. @@ -3998,7 +4113,7 @@ The document (so method calls can be chained). - + Merges another document into this one, specifying whether existing elements are overwritten. @@ -4008,26 +4123,26 @@ The document (so method calls can be chained). - + Removes an element from this document (if duplicate element names are allowed then all elements with this name will be removed). The name of the element to remove. - + Removes an element from this document. The zero based index of the element to remove. - + Removes an element from this document. The element to remove. - + Sets the value of an element. @@ -4037,7 +4152,7 @@ The document (so method calls can be chained). - + Sets the value of an element (an element will be added if no element with this name is found). @@ -4047,7 +4162,13 @@ The document (so method calls can be chained). - + + + Sets the document Id. + + The value of the Id. + + Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found). @@ -4056,7 +4177,7 @@ The document. - + Sets an element of the document (replacing the existing element at that position). @@ -4066,7 +4187,7 @@ The document. - + Tries to get an element of this document. @@ -4076,7 +4197,7 @@ True if an element with that name was found. - + Tries to get the value of an element of this document. @@ -4086,59 +4207,78 @@ True if an element with that name was found. - + Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + Throws if disposed. - + Gets the number of elements. - + Gets the elements. - + - Gets the element names. + Gets a value indicating whether this instance is disposed. + + true if this instance is disposed; otherwise, false. + - + - Gets the raw values (see BsonValue.RawValue). + Gets a value indicating whether this instance is materialized. + + true if this instance is materialized; otherwise, false. + - + - Gets the slice. + Gets the element names. - - The slice. - - + + + Gets the raw values (see BsonValue.RawValue). + + + Gets the values. - + Gets or sets a value by position. The position. The value. - + Gets the value of an element or a default value if the element is not found. @@ -4146,13 +4286,68 @@ The default value to return if the element is not found. Teh value of the element or a default value if the element is not found. - + Gets or sets a value by name. The name. The value. + + + Initializes a new instance of the class. + + The slice. + slice + LazyBsonDocument cannot be used with an IByteBuffer that needs disposing. + + + + Initializes a new instance of the class. + + The bytes. + + + + Creates a shallow clone of the document (see also DeepClone). + + + A shallow clone of the document. + + + + + Creates a deep clone of the document (see also Clone). + + + A deep clone of the document. + + + + + Releases unmanaged and - optionally - managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Materializes the BsonDocument. + + The materialized elements. + + + + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. + + + + + Gets the slice. + + + The slice. + + Represents an immutable BSON array that is represented using only the raw bytes. @@ -4369,6 +4564,11 @@ Gets the count of array elements. + + + Gets whether the array is read-only. + + Gets the array elements as raw values (see BsonValue.RawValue). @@ -6459,6 +6659,24 @@ The actual type. The discriminator value. + + + A convention that allows you to set the Enum serialization representation + + + + + Initializes a new instance of the class. + + The serialization representation. 0 is used to detect representation + from the enum itself. + + + + Applies a modification to the member map. + + The member map. + A convention that sets the id generator for a string member with a BSON representation of ObjectId. @@ -7250,6 +7468,17 @@ Represents a serializer for BsonArrays. + + + Contract for serializers to implement if they serialize an array of items. + + + + + Gets the serialization info for individual items of the array. + + The serialization info for the items. + Initializes a new instance of the BsonArraySerializer class. @@ -7265,6 +7494,14 @@ The serialization options. An object. + + + Gets the serialization info for individual items of the array. + + + The serialization info for the items. + + Serializes an object to a BsonWriter. @@ -7460,17 +7697,6 @@ The class map. - - - Contract for serializers to implement if they serialize an array of items. - - - - - Gets the serialization info for individual items of the array. - - The serialization info for the items. - Contract for serializers that can get and set Id values. @@ -10557,6 +10783,15 @@ The IdGenerator for the Id type. True if the document has an Id. + + + Gets the serialization info for a member. + + The member name. + + The serialization info for the member. + + Serializes an object to a BsonWriter. @@ -11108,6 +11343,23 @@ The serialization options. An object. + + + Gets the serialization info for a member. + + The member name. + + The serialization info for the member. + + + + + Gets the serialization info for individual items of the array. + + + The serialization info for the items. + + Serializes an object to a BsonWriter. @@ -13715,7 +13967,7 @@ - Use JavaScript and 10gen data types for some values. + Use JavaScript and MongoDB data types for some values. @@ -14235,6 +14487,16 @@ The wrapped object. Whether the wrapped object is an update document that needs to be checked. + + + Initializes a new instance of the BsonDocumentWrapper class. + + The nominal type of the wrapped object. + The wrapped object. + The serializer. + The serialization options. + Whether the wrapped object is an update document that needs to be checked. + Creates a new instance of the BsonDocumentWrapper class. @@ -14285,12 +14547,13 @@ A list of wrapped objects. A list of BsonDocumentWrappers. - + - CompareTo is an invalid operation for BsonDocumentWrapper. + Creates a shallow clone of the document (see also DeepClone). - Not applicable. - Not applicable. + + A shallow clone of the document. + @@ -14301,52 +14564,45 @@ Not applicable. Not applicable. - + - GetDocumentId is an invalid operation for BsonDocumentWrapper. + Serializes the wrapped object to a BsonWriter. - Not applicable. - Not applicable. - Not applicable. - Not applicable. + The writer. + The nominal type (overridden by the wrapped nominal type). + The serialization options (can be null). - + - Equals is an invalid operation for BsonDocumentWrapper. + Materializes the BsonDocument. - Not applicable. - Not applicable. + The materialized elements. - + - GetHashCode is an invalid operation for BsonDocumentWrapper. + Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state. - Not applicable. - - - Serializes the wrapped object to a BsonWriter. - - The writer. - The nominal type (overridded by the wrapped nominal type). - The serialization options. - - + - SetDocumentId is an invalid operation for BsonDocumentWrapper. + Gets whether the wrapped document is an update document. - Not applicable. - + - Returns a string representation of the wrapped document. + Gets the serialization options. - A string representation of the wrapped document. + + The serialization options. + - + - Gets whether the wrapped document is an update document. + Gets the serializer. + + The serializer. + @@ -16427,6 +16683,17 @@ Flushes any pending data to the output destination. + + + Pops the max document size stack, restoring the previous max document size. + + + + + Pushes a new max document size onto the max document size stack. + + The maximum size of the document. + Writes BSON binary data to the writer. diff --git a/Dependencies/MongoDB.Driver.XML b/Dependencies/MongoDB.Driver.XML index 9d1b157..99ad058 100644 --- a/Dependencies/MongoDB.Driver.XML +++ b/Dependencies/MongoDB.Driver.XML @@ -4,6 +4,1181 @@ MongoDB.Driver + + + The type to use for the $currentDate type. + + + + + The date type. + + + + + The timestamp type. + + + + + Represents arguments for the ParallelScan command helper method. + + + + + Gets or sets the size of the batch. + + + The size of the batch. + + + + + Gets or sets the desired number of cursors. + + + The desired number of cursors. + + + + + Gets or sets the read preference. + + + The read preference. + + + + + Gets or sets the serialization options. + + + The serialization options. + + + + + Gets or sets the serializer. + + + The serializer. + + + + + Represents the details of a write concern error. + + + + + Gets the error code. + + + The error code. + + + + + Gets the error information. + + + The error information. + + + + + Gets the error message. + + + The error message. + + + + + Represents the details of a write error for a particular request. + + + + + Gets the error code. + + + The error code. + + + + + Gets the error information. + + + The error information. + + + + + Gets the index of the request that had an error. + + + The index. + + + + + Gets the error message. + + + The error message. + + + + + Represents the result of a bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + The number of document that were deleted. + + + + + Gets the number of documents that were inserted. + + + The number of document that were inserted. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + true if the bulk write operation was acknowledged; otherwise, false. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + true if the modified count is available; otherwise, false. + + + + + Gets the number of documents that were matched. + + + The number of document that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + The number of document that were actually modified during an update. + + + + + Gets the processed requests. + + + The processed requests. + + + + + Gets the request count. + + + The request count. + + + + + Gets a list with information about each request that resulted in an upsert. + + + The list with information about each request that resulted in an upsert. + + + + + Represents the information about one Upsert. + + + + + Gets the identifier. + + + The identifier. + + + + + Gets the index. + + + The index. + + + + + Represents a bulk write 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 class. + + The result. + The write errors. + The unprocessed requests. + The write concern error. + + + + Initializes a new instance of the MongoQueryException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the result of the bulk write operation. + + + + + Gets the unprocessed requests. + + + The unprocessed requests. + + + + + + Gets the write concern error. + + + The write concern error. + + + + + Gets the write errors. + + + The write errors. + + + + + Represents the result of one batch executed using a write command. + + + + + Represents a fluent builder for a bulk operation. + + + + + Executes the bulk operation using the default write concern from the collection. + + A BulkWriteResult. + + + + Executes the bulk operation. + + The write concern for this bulk operation. + A BulkWriteResult. + + + + Creates a builder for a new write request (either a remove or an update). + + The query. + A FluentWriteRequestBuilder. + + + + Adds an insert request for the specified document to the bulk operation. + + The type of the document. + The document. + + + + Represents a fluent builder for a write request (either a remove or an update). + + + + + Adds a request to remove all matching documents to the bulk operation. + + + + + Adds a request to remove one matching documents to the bulk operation. + + + + + Adds a request to replace one matching documents to the bulk operation. + + + + + Adds a request to update all matching documents to the bulk operation. + + + + + Adds a request to update one matching documents to the bulk operation. + + + + + Specifies that the request being built should be an upsert. + + + + + + Represents a fluent builder for one update request. + + + + + Adds an update request to replace one matching document to the bulk operation. + + The type of the document. + The document. + + + + Adds an update request to update all matching documents to the bulk operation. + + The update. + + + + Adds an update request to update one matching document to the bulk operation. + + The update. + + + + Represents a request to insert a document. + + + + + Represents a request to write something to the database. + + + + + Initializes a new instance of the class. + + The request type. + + + + Gets the request type. + + + The request type. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + Type nominal type. + The document. + + + + Initializes a new instance of the class. + + Type nominal type. + The document. + The serializer. + The serialization options. + + + + Gets or sets the document. + + + The document. + + + + + Gets or sets the nominal type. + + + The nominal type. + + + + + Gets or sets the serialization options. + + + The serialization options. + + + + + Gets or sets the serializer. + + + The serializer. + + + + + Represents the type of a write request. + + + + + A delete request. + + + + + An insert request. + + + + + An udpate request. + + + + + Authentication protocol using the SSL X509 certificates as the client identity. + + + + + Authenticates a MongoConnection. + + + + + Authenticates the specified connection with the given credential. + + The connection. + The credential. + + + + Determines whether this instance can use the specified credential. + + The credential. + + true if this instance can use the specified credential; otherwise, false. + + + + + Gets the name. + + + + + Authenticates the specified connection with the given credential. + + The connection. + The credential. + + + + Determines whether this instance can use the specified credential. + + The credential. + + true if this instance can use the specified credential; otherwise, false. + + + + + Gets the name. + + + + + Represents arguments for the Distinct command helper method. + + + + + Gets or sets the key. + + + The key. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets the value serialization options. + + + The value serialization options. + + + + + Gets or sets the value serializer. + + + The value serializer. + + + + + Thrown when a duplicate key is inserted into a collection. + + + + + Represents a get last error exception. + + + + + 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. + + + + Initializes a new instance of the WriteConcernException class. + + The error message. + The command result. + + + + Initializes a new instance of the WriteConcernException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Gets the write concern result. + + + The write concern result. + + + + + Initializes a new instance of the class. + + The error message. + The command result. + + + + Initializes a new instance of the WriteConcernException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents the Id of a feature. + + + + + The aggregate allow disk use feature. + + + + + The aggregate cursor feature. + + + + + The aggregate explain feature. + + + + + The aggregate output to collection feature. + + + + + The create index command feature. + + + + + The max time feature. + + + + + The parallel scan command. + + + + + The text search command. + + + + + The text search query operator. + + + + + The user management commands. + + + + + The write commands. + + + + + The write opcodes. + + + + + Represents a set of features that are supported by a server instance. + + + + + Checks whether a feature is supported. + + The feature Id. + True if the feature is supported; otherwise, false. + + + + Represents the arguments to a BulkWrite method (BulkDelete, BulkInsert, BulkUpdate or BulkWrite). + + + + + Gets or sets a delegate that is called before a document is inserted to assign an id if the id is empty. + + + + + Gets or sets whether to check element names. + + + true if element names should be checked; otherwise, false. + + + + + Gets or sets a value indicating whether the server should process the requests in order. + + + true if the server should process the requests in order; otherwise, false. + + + + + Gets or sets the maximum batch count. + + + The maximum batch count. + + + + + Gets or sets the maximum batch length (in bytes). + + + The maximum batch length. + + + + + Gets or sets the write requests. + + + + + Gets or sets the write concern. + + + The write concern. + + + + + Represents the result of an acknowledged bulk write operation. + + + + + Initializes a new instance of the class. + + The request count. + The matched count. + The deleted count. + The inserted count. + The modified count. + The processed requests. + The upserts. + + + + Gets the number of documents that were deleted. + + + The number of document that were deleted. + + + + + Gets the number of documents that were inserted. + + + The number of document that were inserted. + + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + true if the modified count is available; otherwise, false. + + + + + Gets the number of documents that were matched. + + + The number of document that were matched. + + + + + Gets the number of documents that were actually modified during an update. + + + The number of document that were actually modified during an update. + + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + true if the bulk write operation was acknowledged; otherwise, false. + + + + + Gets a list with information about each request that resulted in an upsert. + + + The list with information about each request that resulted in an upsert. + + + + + Represents arguments for the Count command helper method. + + + + + Gets or sets the maximum number of matching documents to count. + + + The maximum number of matching documents to count. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets the number of matching documents to skip before starting to count matching documents. + + + The number of matching documents to skip before starting to count matching documents. + + + + + Represents arguments for the Eval command helper method. + + + + + Gets or sets the arguments to the JavaScript code. + + + The arguments. + + + + + Gets or sets the JavaScript code. + + + The JavaScript code. + + + + + Gets or sets whether the server should take a global write lock when executing the JavaScript code. + + + Whether the server should take a global write lock when executing the JavaScript code. + + + + + Gets or sets the max time. + + + The max time. + + + + + A mapper from error responses to custom exceptions. + + + + + Maps the specified response to a custom exception (if possible). + + The response. + The custom exception (or null if the response could not be mapped to a custom exception). + + + + Maps the specified writeConcernResult to a custom exception (if necessary). + + The write concern result. + + The custom exception (or null if the writeConcernResult was not mapped to an exception). + + + + + Represents a MongoDB execution timeout exception. + + + + + Initializes a new instance of the ExecutionTimeoutException class. + + The error message. + + + + Initializes a new instance of the ExecutionTimeoutException class. + + The error message. + The inner exception. + + + + Initializes a new instance of the ExecutionTimeoutException class (this overload supports deserialization). + + The SerializationInfo. + The StreamingContext. + + + + Represents a version of a document (original or modified). + + + + + The original version of the document. + + + + + The modified version of the document. + + + + + Represents options for the FindAndModify command. + + + + + Gets or sets the fields specification. + + + The fields specification. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Gets or sets the update specification. + + + The update specification. + + + + + Gets or sets a value indicating whether FindAndModify should upsert. + + + true if FindAndModify should upsert; otherwise, false. + + + + + Gets or sets the version of the document returned. + + + The version of the document returned. + + + + + Represents the output mode for an aggregate operation. + + + + + The output of the aggregate operation is returned inline. + + + + + The output of the aggregate operation is returned using a cursor. + + + + + Represents options for the Aggregate command. + + + + + Gets or sets a value indicating whether disk use is allowed. + + + true if disk use is allowed; otherwise, false. + + + + + Gets or sets the size of a batch when using a cursor. + + + The size of a batch. + + BatchSize cannot be negative.;value + + + + Gets or sets the max time the server should spend on the aggregation command. + + + The max time. + + + + + Gets or sets the output mode. + + + The output mode. + + + + + + Gets or sets the pipeline. + + + The pipeline. + + Abstract base class for the builders. @@ -156,6 +1331,13 @@ One or more field names. The builder (so method calls can be chained). + + + Specifies the name of field to hold the computed relevance score for text search. + + The name of the field to hold the computed relevance score. + The builder (so method calls can be chained). + Adds a slice to be included in the results. @@ -215,6 +1397,13 @@ One or more field names. The builder (so method calls can be chained). + + + Specifies the name of field to hold the computed relevance score for text search. + + The name of the field to hold the computed relevance score. + The builder (so method calls can be chained). + Adds a slice to be included in the results. @@ -275,6 +1464,13 @@ The member expressions. The builder (so method calls can be chained). + + + Specifies the name of field to hold the computed relevance score for text search. + + The member expression specifying the field to hold the computed relevance score. + The builder (so method calls can be chained). + Adds a slice to be included in the results. @@ -333,6 +1529,13 @@ The member expressions. The builder (so method calls can be chained). + + + Specifies the name of field to hold the computed relevance score for text search. + + The member expression specifying the field to hold the computed relevance score. + The builder (so method calls can be chained). + Adds a slice to be included in the results. @@ -770,7 +1973,20 @@ Sets the key name to create a hashed index on. - The key name. + The key name. + The builder (so method calls can be chained). + + + + Sets one or more key names to include in the text index. + + List of key names to include in the text index. + The builder (so method calls can be chained). + + + + Create a text index that indexes all text fields of a document. + The builder (so method calls can be chained). @@ -838,6 +2054,19 @@ The key name. The builder (so method calls can be chained). + + + Sets one or more key names to include in the text index. + + List of key names to include in the text index. + The builder (so method calls can be chained). + + + + Create a text index that indexes all text fields of a document. + + The builder (so method calls can be chained). + Returns the result of the builder as a BsonDocument. @@ -928,6 +2157,26 @@ The builder (so method calls can be chained). + + + Sets one or more key names to include in the text index. + + The member expressions. + The builder (so method calls can be chained). + + + + Sets one or more key names to include in the text index. + + The member expressions. + The builder (so method calls can be chained). + + + + Create a text index that indexes all text fields of a document. + + The builder (so method calls can be chained). + A builder for specifying the keys for an index. @@ -1009,6 +2258,26 @@ The builder (so method calls can be chained). + + + Sets one or more key names to include in the text index. + + The member expressions. + The builder (so method calls can be chained). + + + + Sets one or more key names to include in the text index. + + The member expressions. + The builder (so method calls can be chained). + + + + Create a text index that indexes all text fields of a document. + + The builder (so method calls can be chained). + Converts this object to a BsonDocument. @@ -1073,6 +2342,20 @@ Whether the index is a sparse index. The builder (so method calls can be chained). + + + Sets the default language for the text index. + + The default language. + The builder (so method calls can be chained). + + + + Specifies the field name containing the language for the text index. + + The field name. + The builder (so method calls can be chained). + Sets the time to live value. @@ -1087,6 +2370,16 @@ Whether the index enforces unique values. The builder (so method calls can be chained). + + + Sets the weight of a field for the text index. + + The name of the field. + The weight. + + The builder (so method calls can be chained). + + Gets a null value with a type of IMongoIndexOptions. @@ -1150,6 +2443,20 @@ Whether the index is a sparse index. The builder (so method calls can be chained). + + + Sets the default language for the text index. + + The default language. + The builder (so method calls can be chained). + + + + Specifies the field name containing the language for the text index. + + The field name. + The builder (so method calls can be chained). + Sets the time to live value. @@ -1164,6 +2471,16 @@ Whether the index enforces unique values. The builder (so method calls can be chained). + + + Sets the weight of a field for the text index. + + The field name. + The weight. + + The builder (so method calls can be chained). + + Returns the result of the builder as a BsonDocument. @@ -1178,30 +2495,211 @@ The nominal type. The serialization options. - + - Represents the output mode for a map reduce operation. + A builder for the options used when creating an index. + The type of the document. - + - The output of the map reduce operation is returned inline. + 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). - + - The output of the map reduce operation replaces an existing collection. + Sets the bucket size for geospatial haystack indexes. + The bucket size. + The builder (so method calls can be chained). - + - The output of the map reduce operation is merged with an existing collection. + 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). - + - The output of the map reduce operation is merged with an existing collection using the reduce function. + 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 the default language for the text index. + + The default language. + The builder (so method calls can be chained). + + + + Specifies a member expression for the field name containing the language for the text index. + + The member expression indicating the language field name. + + The builder (so method calls can be chained). + + + + + Sets the time to live value. + + The time to live. + 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). + + + + Sets the weight of a field for the text index. + + The type of the member. + The member expression. + The value. + + 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. + + The type of the document. + + + + 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 the default language for the text index. + + The default language. + The builder (so method calls can be chained). + + + + Specifies a member expression for the field name containing the language for the text index. + + The member expression indicating the language field name. + + The builder (so method calls can be chained). + + + + + Sets the time to live value. + The time to live. + 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). + + + + Sets the weight of a field for the text index. + + The type of the member. + The member expression. + The value. + + The builder (so method calls can be chained). + + + + + Converts this object to a BsonDocument. + + + A BsonDocument. + + + + + Serializes the result of the builder to a BsonWriter. + + The writer. + The nominal type. + The serialization options. @@ -1538,6 +3036,11 @@ Arguments for $push with an $each clause. + + + Gets or sets the position (see $position). + + Gets or sets the slice (see $slice). @@ -1560,6 +3063,13 @@ The serialization info helper. + + + Specifies the position for the array. + + The position. + The builder. + Specifies a slice for the array. @@ -1798,16 +3308,48 @@ The subqueries. An IMongoQuery. - + + + Tests that at least one of the subqueries is true (see $or). + + The subqueries. + An IMongoQuery. + + + + 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. + An IMongoQuery. + + + + Tests that the size of the named array is greater than some value. + + The name of the element to test. + The size to compare to. + An IMongoQuery. + + + + Tests that the size of the named array is greater than or equal to some value. + + The name of the element to test. + The size to compare to. + An IMongoQuery. + + - Tests that at least one of the subqueries is true (see $or). + Tests that the size of the named array is less than some value. - The subqueries. + The name of the element to test. + The size to compare to. An IMongoQuery. - + - Tests that the size of the named array is equal to some value (see $size). + Tests that the size of the named array is less than or equal to some value. The name of the element to test. The size to compare to. @@ -1877,6 +3419,22 @@ The y coordinate of the upper right corner. An IMongoQuery. + + + Generate a text search query that tests whether the given search string is present. + + The search string. + An IMongoQuery that represents the text search. + + + + Generate a text search query that tests whether the given search string is present using the specified language's rules. + Specifies use of language appropriate stop words, stemming rules etc. + + The search string. + The language to restrict the search by. + An IMongoQuery that represents the text search for the particular language. + Gets a null value with a type of IMongoQuery. @@ -2719,6 +4277,14 @@ One or more key names. The builder (so method calls can be chained). + + + Adds a key to sort by the computed relevance score when using text search. The name of the key should be + the name of the projected relevance score field. + + The name of the computed relevance score field. + The builder (so method calls can be chained). + Gets a null value with a type of IMongoSortBy. @@ -2753,6 +4319,14 @@ One or more key names. The builder (so method calls can be chained). + + + Adds a key to sort by the computed relevance score when using text search. The name of the key should be + the name of the projected relevance score field. + + The name of the computed relevance score field. + The builder (so method calls can be chained). + Returns the result of the builder as a BsonDocument. @@ -2791,6 +4365,14 @@ The builder (so method calls can be chained). + + + Adds a key to sort by the computed relevance score when using text search. The name of the key should be + the name of the projected relevance score field. + + The member expression specifying the projected field. + The builder (so method calls can be chained). + A builder for specifying a sort order. @@ -2826,6 +4408,14 @@ The builder (so method calls can be chained). + + + Adds a key to sort by the computed relevance score when using text search. The name of the key should be + the name of the projected relevance score field. + + The member expression specifying the projected field. + The builder (so method calls can be chained). + Converts this object to a BsonDocument. @@ -2938,6 +4528,22 @@ 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 xor of its value with another value (see $bit with "xor"). + + The name of the element to be modified. + The value to be xor-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise xor of its value with another value (see $bit with "xor"). + + The name of the element to be modified. + The value to be xor-ed with the current value. + The builder (so method calls can be chained). + Combines several UpdateBuilders into a single UpdateBuilder. @@ -2952,6 +4558,21 @@ The UpdateBuilders to combine. A combined UpdateBuilder. + + + Sets the value of the named element to the current date (see $currentDate). + + The name of the element. + The builder (so method calls can be chained). + + + + Sets the value of the named element to the current date (see $currentDate). + + The name of the element. + The type to use. + The builder (so method calls can be chained). + Increments the named element by a value (see $inc). @@ -2976,6 +4597,46 @@ The value to increment by. The builder (so method calls can be chained). + + + Updates the named element if and only if the provided value is greater than its current value (see $max). + + The name of the element to be updated. + The value to use. + The builder (so method calls can be chained). + + + + Updates the named element if and only if the provided value is less than its current value (see $max). + + The name of the element to be updated. + The value to use. + The builder (so method calls can be chained). + + + + Multiplies the named element by a value (see $mul). + + The name of the element to be multiplied. + The value to multiply by. + The builder (so method calls can be chained). + + + + Multiplies the named element by a value (see $mul). + + The name of the element to be multiplied. + The value to multiply by. + The builder (so method calls can be chained). + + + + Multiplies the named element by a value (see $mul). + + The name of the element to be multiplied. + The value to multiply by. + The builder (so method calls can be chained). + Removes the first value from the named array element (see $pop). @@ -3367,6 +5028,22 @@ 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 xor of its value with another value (see $bit with "xor"). + + The name of the element to be modified. + The value to be xor-ed with the current value. + The builder (so method calls can be chained). + + + + Sets the named element to the bitwise xor of its value with another value (see $bit with "xor"). + + The name of the element to be modified. + The value to be xor-ed with the current value. + The builder (so method calls can be chained). + Combines another UpdateBuilder into this one. @@ -3374,6 +5051,21 @@ The IMongoUpdate to combine into this one. A combined UpdateBuilder. + + + Sets the value of the named element to the current date (see $currentDate). + + The name of the element. + The builder (so method calls can be chained). + + + + Sets the value of the named element to the current date (see $currentDate). + + The name of the element. + The type to use. + The builder (so method calls can be chained). + Increments the named element by a value (see $inc). @@ -3398,6 +5090,46 @@ The value to increment by. The builder (so method calls can be chained). + + + Updates the named element if and only if the provided value is greater than its current value (see $max). + + The name of the element to be updated. + The value to use. + The builder (so method calls can be chained). + + + + Updates the named element if and only if the provided value is less than its current value (see $max). + + The name of the element to be updated. + The value to use. + The builder (so method calls can be chained). + + + + Multiplies the named element by a value (see $mul). + + The name of the element to be multiplied. + The value to multiply by. + The builder (so method calls can be chained). + + + + Multiplies the named element by a value (see $mul). + + The name of the element to be multiplied. + The value to multiply by. + The builder (so method calls can be chained). + + + + Multiplies the named element by a value (see $mul). + + The name of the element to be multiplied. + The value to multiply by. + The builder (so method calls can be chained). + Removes the first value from the named array element (see $pop). @@ -3746,6 +5478,26 @@ The builder (so method calls can be chained). + + + Sets the named element to the bitwise xor of its value with another value (see $bit with "xor"). + + The member expression. + The value to be xor-ed with the current value. + + The builder (so method calls can be chained). + + + + + Sets the named element to the bitwise xor of its value with another value (see $bit with "xor"). + + The member expression. + The value to be xor-ed with the current value. + + The builder (so method calls can be chained). + + Combines several UpdateBuilders into a single UpdateBuilder. @@ -3764,6 +5516,33 @@ A combined UpdateBuilder. + + + Sets the value of the named element to the current date (see $currentDate). + + The member expression. + + The builder (so method calls can be chained). + + + + + Sets the value of the named element to the current date (see $currentDate). + + The member expression. + + The builder (so method calls can be chained). + + + + + Sets the value of the named element to the current date (see $currentDate). + + The member expression. + + The builder (so method calls can be chained). + + Increments the named element by a value (see $inc). @@ -3794,6 +5573,58 @@ The builder (so method calls can be chained). + + + Updates the named element if and only if the provided value is greater than its current value (see $max). + + The type of the member. + The member expression. + The value to use. + + The builder (so method calls can be chained). + + + + + Updates the named element if and only if the provided value is less than its current value (see $max). + + The type of the member. + The member expression. + The value to use. + + The builder (so method calls can be chained). + + + + + Multiplies the named element by a value (see $mul). + + The member expression. + The value to multiply by. + + The builder (so method calls can be chained). + + + + + Multiplies the named element by a value (see $mul). + + The member expression. + The value to multiply by. + + The builder (so method calls can be chained). + + + + + Multiplies the named element by a value (see $mul). + + The member expression. + The value to multiply by. + + The builder (so method calls can be chained). + + Removes the first value from the named array element (see $pop). @@ -4006,7 +5837,27 @@ Sets the named element to the bitwise or of its value with another value (see $bit with "or"). The member expression. - The value to be and-ed with the current value. + 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 xor of its value with another value (see $bit with "xor"). + + The member expression. + The value to be xor-ed with the current value. + + The builder (so method calls can be chained). + + + + + Sets the named element to the bitwise xor of its value with another value (see $bit with "xor"). + + The member expression. + The value to be xor-ed with the current value. The builder (so method calls can be chained). @@ -4018,6 +5869,33 @@ The UpdateBuilder to combine into this one. A combined UpdateBuilder. + + + Sets the value of the named element to the current date (see $currentDate). + + The member expression. + + The builder (so method calls can be chained). + + + + + Sets the value of the named element to the current date (see $currentDate). + + The member expression. + + The builder (so method calls can be chained). + + + + + Sets the value of the named element to the current date (see $currentDate). + + The member expression. + + The builder (so method calls can be chained). + + Increments the named element by a value (see $inc). @@ -4038,12 +5916,65 @@ The builder (so method calls can be chained). - + + + Increments the named element by a value (see $inc). + + The member expression. + The value to increment by. + + The builder (so method calls can be chained). + + + + + Updates the named element if and only if the provided value is greater than its current value (see $max). + + The type of the member. + The member expression. + The value to use. + + The builder (so method calls can be chained). + + memberExpression + + + + Updates the named element if and only if the provided value is less than its current value (see $max). + + The type of the member. + The member expression. + The value to use. + + The builder (so method calls can be chained). + + + + + Multiplies the named element by a value (see $mul). + + The member expression. + The value to multiply by. + + The builder (so method calls can be chained). + + + + + Multiplies the named element by a value (see $mul). + + The member expression. + The value to multiply by. + + The builder (so method calls can be chained). + + + - Increments the named element by a value (see $inc). + Multiplies the named element by a value (see $mul). The member expression. - The value to increment by. + The value to multiply by. The builder (so method calls can be chained). @@ -4265,15 +6196,31 @@ Gets the Ok value from the response. + + + Gets the server instance this command was executed on. + + + The server instance. + + Initializes a new instance of the class. The response. + + + Gets the cursor id. + + + The cursor id. + + - Gets the results of the aggregation. + Gets the result documents (either the Inline results or the first batch if a cursor was used). @@ -5059,6 +7006,11 @@ Gets the last error message (null if none). + + + Gets the _id of an upsert that resulted in an insert. + + Gets whether the last command updated an existing document. @@ -5174,6 +7126,30 @@ The length of the max message. + + + Gets the max wire version. + + + The max wire version. + + + + + Gets the min wire version. + + + The min wire version. + + + + + Gets the maximum size of the write batch. + + + The maximum size of the write batch. + + Gets the message. @@ -5207,6 +7183,11 @@ Gets the tags. + + + Gets the replica set config version if present. If not returns null + + Represents the results of a validate collection command. @@ -5410,30 +7391,60 @@ The server is a shard router (mongos). - + - Authenticates a MongoConnection. + Implements the SASL-PLAIN rfc: http://tools.ietf.org/html/rfc4616. - + - Authenticates the specified connection with the given credential. + Represents a sasl mechanism. + + + + + Determines whether this instance can authenticate with the specified credential. + + The credential. + + true if this instance can authenticate with the specified credential; otherwise, false. + + + + + Initializes the mechanism. The connection. The credential. + The initial step. - + - Determines whether this instance can use the specified credential. + Gets the name of the mechanism. + + + + + Determines whether this instance can authenticate with the specified credential. The credential. - true if this instance can use the specified credential; otherwise, false. + true if this instance can authenticate with the specified credential; otherwise, false. - + - Gets the name. + Initializes the mechanism. + + The connection. + The credential. + + The initial step. + + + + + Gets the name of the mechanism. @@ -5724,12 +7735,14 @@ Implements the GssApi specification using the Gsasl library. - + Initializes a new instance of the class. + Name of the service. Name of the host. The username. + The realm. The evidence. @@ -5743,33 +7756,6 @@ A mechanism implementing the GSS API specification. - - - Represents a sasl mechanism. - - - - - Determines whether this instance can authenticate with the specified credential. - - The credential. - - true if this instance can authenticate with the specified credential; otherwise, false. - - - - - Initializes the mechanism. - - The connection. - The credential. - The initial step. - - - - Gets the name of the mechanism. - - Determines whether this instance can authenticate with the specified credential. @@ -5798,11 +7784,13 @@ Implements the GSS API specification on Windows utilizing the native sspi libraries. - + Initializes a new instance of the class. + Name of the service. Name of the host. + The domain. The username. The evidence. @@ -5824,31 +7812,6 @@ An exception thrown during login and privilege negotiation. - - - 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 class. @@ -6392,6 +8355,17 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/aa375211(v=vs.85).aspx + + + Enumerates the security packages. + + The pc packages. + The pp package information. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375397%28v=VS.85%29.aspx + + Encrypts the message. @@ -6405,6 +8379,16 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/aa375378(v=vs.85).aspx + + + Frees the context buffer. + + The context buffer. + A result code. + + http://msdn.microsoft.com/en-us/library/aa375416(v=vs.85).aspx + + Frees the credentials handle. @@ -6509,6 +8493,191 @@ Do not take a write lock. + + + Represents options for the FindAndRemove command. + + + + + Gets or sets the fields specification. + + + The fields specification. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets the sort specification. + + + The sort specification. + + + + + Represents arguments to the FindOne method. + + + + + Gets or sets the fields. + + + The fields. + + + + + Gets or sets the hint. + + + The hint. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets the read preference. + + + The read preference. + + + + + Gets or sets the serialization options. + + + The serialization options. + + + + + Gets or sets the serializer. + + + The serializer. + + + + + Gets or sets the skip. + + + The skip. + + + + + Gets or sets the sort order. + + + The sort order. + + + + + Represents the arguments to the GeoHaystackSearch method. + + + + + Sets the name and value of the additional field. + + Name of the additional field. + The value. + The args so calls can be chained. + + + + Sets the name and value of the additional field. + + The type of the document. + The type of the member. + The member expression. + The value. + The args so calls can be chained. + + + + Gets or sets the name of the additional field. + + + The name of the additional field. + + + + + Gets or sets the additional field value. + + + The additional field value. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max distance. + + + The max distance. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the location near which to search. + + + The location near which to search. + + A static class containing helper methods to create GeoJson objects. @@ -8783,35 +10952,434 @@ The object. The serialization options. - + + + Represents the arguments to the GeoNear method. + + + + + Gets or sets the distance multiplier. + + + The distance multiplier. + + + + + Gets or sets whether to include locations in the results. + + + Whether to include locations in the results. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the max distance. + + + The max distance. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the location near which to search. + + + The location near which to search. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets whether the search is on a spherical surface. + + + Whether the search is on a spherical surface. + + + + + Gets or sets whether to only return a document once even if matches multiple times. + + + Whether to only return a document once even if matches multiple times. + + + + + Represents a GeoNearPoint (wraps either an XYPoint or a GeoJsonPoint). + + + + + Implicit conversion to wrap an XYPoint in a GeoNearPoint value. + + The value. + A GeoNearPoint value. + + + + Implicit conversion to wrap a 2D GeoJson point in a GeoNearPoint value. + + The value. + A GeoNearPoint value. + + + + Implicit conversion to wrap a 2D GeoJson point in a GeoNearPoint value. + + The value. + A GeoNearPoint value. + + + + Implicit conversion to wrap a 2D GeoJson point in a GeoNearPoint value. + + The value. + A GeoNearPoint value. + + + + Converts the GeoNearPoint into a BsonValue for the GeoNear command. + + + + + + Represents a GeoNearPoint that wraps an XYPoint. + + + + + Initializes a new instance of the class. + + The value. + + + + Converts the GeoNearPoint into a BsonValue for the GeoNear command. + + A BsonValue. + + + + Gets the value. + + + The value. + + + + + Represents a GeoNearPoint that wraps a GeoJsonPoint. + + The type of the coordinates. + + + + Initializes a new instance of the class. + + The value. + + + + Converts the GeoNearPoint into a BsonValue for the GeoNear command. + + A BsonValue. + + + + Gets the value. + + + The value. + + + + + Represents arguments for the GetStats command helper method. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the scale. + + + The scale. + + + + + Represents arguments for the Group command helper method. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets or sets the initial value of the aggregation result document. + + + The initial value of the aggregation result document. + + + + + Gets or sets the key fields. + + + The key fields. + + + + + Gets or sets the key function. + + + The key function. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets the reduce function. + + + The reduce function. + + + + + 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 marker interface that represents a command (see CommandDocument). + + + + + A marker interface that represents a query (see QueryDocument and the Query builder). + + + + + A marker interface that represents a scope (a set of variables with values, see ScopeDocument). + + + + + 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 arguments for the MapReduce command helper method. + + + + + Gets or sets the finalize function. + + + The finalize function. + + + + + Gets or sets the JavaScript mode (if true all intermediate values are kept in memory as JavaScript objects). + + + The JavaScript mode. + + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the map function. + + + The map function. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets the name of the output collection. + + + The name of the output collection. + + + + + Gets or sets the name of the output database. + + + The name of the output database. + + + + + Gets or sets whether Merge and Reduce output should not be atomic. + + + Whether Merge and Reduce output should not be atomic. + + + + + Gets or sets whether the output is sharded. + + + Whether the output is sharded. + + + - Flags used with the Insert method in MongoCollection. + Gets or sets the output mode. + + The output mode. + - + - No flags. + Gets or sets the query. + + The query. + - + - Continue with the remaining documents even if one of the documents resulted in an error. + Gets or sets the reduce function. + + The reduce function. + - + - A marker interface that represents a command (see CommandDocument). + Gets or sets the scope (variables available to the map/reduce functions); + + The scope. + - + - A marker interface that represents a query (see QueryDocument and the Query builder). + Gets or sets the sort order. + + The sort order. + - + - A marker interface that represents a scope (a set of variables with values, see ScopeDocument). + Gets or sets whether to include extra information in the result (like timing). + + Whether to include extra information in the result (like timing). + @@ -9754,6 +12322,13 @@ Refreshes the state as soon as possible. + + + Checks whether this server instance supports a feature. + + The id of the feature. + True if this server instance supports the feature; otherwise, false. + Verifies the state of the server instance. @@ -9832,7 +12407,7 @@ - Gets the version of this server instance. + Gets the build info of this server instance. @@ -9880,6 +12455,22 @@ Gets the max message length for this server instance. + + + Gets the maximum size of a wire document. Normally slightly larger than MaxDocumentSize. + + + The maximum size of a wire document. + + + + + Gets the maximum batch count for write operations. + + + The maximum batch count. + + Gets the unique sequential Id for this server instance. @@ -9895,6 +12486,11 @@ Gets the state of this server instance. + + + Gets a value indicating whether the server is compatible with the driver. + + The settings used to access a MongoDB server. @@ -10249,6 +12845,11 @@ Gets or sets the FSync component of the write concern. + + + Gets or sets the GSSAPI service name. + + Gets or sets the representation to use for Guids. @@ -10934,6 +13535,113 @@ Gets whether the tag set has been frozen to prevent further changes. + + + Represents a request to delete one or more documents. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The query. + + + + Gets or sets the limit. + + + The limit. + + + + + Gets or sets the query. + + + The query. + + + + + Represents a request to update one or more documents. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The query. + The update. + + + + Gets or sets a value indicating whether this update request should affect multiple documents. + + + true if this request should affect multiple documents; otherwise, false. + + + + + Gets or sets a value indicating whether this update request should insert the record if it doesn't already exist. + + + true if this update request should insert the record if it doesn't already exis; otherwise, false. + + + + + Gets or sets the query. + + + The query. + + + + + Gets or sets the update. + + + The update. + + + + + Represents a provider of connections to a specific server instance. + + + + + Initializes a new instance of the class. + + The server instance. + serverInstance + + + + Acquires a connection. + + + A connection. + + + + + Releases a connection. + + The connection. + Represents a setting that may or may not have been set. @@ -11383,6 +14091,112 @@ Gets the instance. + + + Represents the result of an unacknowledged BulkWrite operation. + + + + + Initializes a new instance of the class. + + The request count. + The processed requests. + + + + Gets the number of documents that were deleted. + + + The number of document that were deleted. + + Only acknowledged writes support the DeletedCount property. + + + + Gets the number of documents that were inserted. + + + The number of document that were inserted. + + Only acknowledged writes support the InsertedCount property. + + + + Gets a value indicating whether the modified count is available. + + + The modified count is only available when all servers have been upgraded to 2.6 or above. + + + true if the modified count is available; otherwise, false. + + + + + + Gets the number of documents that were matched. + + + The number of document that were matched + . + + Only acknowledged writes support the MatchedCount property. + + + + Gets the number of documents that were actually modified during an update. + + + The number of document that were actually modified during an update. + + Only acknowledged writes support the ModifiedCount property. + + + + Gets a value indicating whether the bulk write operation was acknowledged. + + + true if the bulk write operation was acknowledged; otherwise, false. + + + + + Gets a list with information about each request that resulted in an upsert. + + + The list with information about each request that resulted in an upsert. + + + + + Represents arguments for the Validate collection command helper method. + + + + + Gets or sets whether to do a more thorough scan of the data. + + + Whether to do a more thorough scan of the data. + + + + + Gets or sets the max time. + + + The max time. + + + + + Gets or sets whether to scan the data. + + + Whether to scan the data. + + Abstract base class for wrapper classes. @@ -12804,6 +15618,14 @@ The hash code. + + + Converts this object to a BsonDocument. + + + A BsonDocument. + + Returns a string representation of the WriteConcern. @@ -12820,6 +15642,11 @@ Gets an instance of WriteConcern that doesn't acknowledge writes. + + + Gets an instance of WriteConcern where w=1. + + Gets an instance of WriteConcern where w=2. @@ -12847,7 +15674,7 @@ - Gets or sets whether to wait for an fsync to complete. + Gets or sets whether the write concern includes { fsync : true }. @@ -12857,7 +15684,7 @@ - Gets or sets whether to wait for journal commit. + Gets or sets whether the write concern includes { j : true }. @@ -12997,131 +15824,50 @@ - 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 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. - - - - - Represents a MongoDB connection exception. + Represents a MongoDB authentication exception - + - Initializes a new instance of the MongoConnectionException class. + Initializes a new instance of the MongoAuthenticationException class. The error message. - + - Initializes a new instance of the MongoConnectionException class. + Initializes a new instance of the MongoAuthenticationException class. The error message. The inner exception. - + - Initializes a new instance of the MongoConnectionException class (this overload supports deserialization). + Initializes a new instance of the MongoAuthenticationException class (this overload supports deserialization). The SerializationInfo. The StreamingContext. - - - Represents a get last error exception. - - - + - Represents a MongoDB safe mode exception. + Represents a MongoDB connection exception. - + - Initializes a new instance of the MongoSafeModeException class. + Initializes a new instance of the MongoConnectionException class. The error message. - The command result. - - - - Initializes a new instance of the MongoSafeModeException class (this overload supports deserialization). - - The SerializationInfo. - The StreamingContext. - + - Initializes a new instance of the WriteConcernException class. + Initializes a new instance of the MongoConnectionException class. The error message. - The command result. + The inner exception. - + - Initializes a new instance of the WriteConcernException class (this overload supports deserialization). + Initializes a new instance of the MongoConnectionException class (this overload supports deserialization). The SerializationInfo. The StreamingContext. @@ -13898,7 +16644,7 @@ Information about a replica set member. - + Initializes a new instance of the class. @@ -13906,6 +16652,7 @@ The primary. The members. The tag set. + The replica set config version if available @@ -13984,6 +16731,11 @@ Gets the tag set. + + + Gets the replica set config version if available + + Proxy for connecting to a replica set. @@ -14033,7 +16785,7 @@ The instance. - + Gets a randomly selected matching instance. @@ -15395,6 +18147,13 @@ The string to get the MD5 hash of. The MD5 hash. + + + Creates a TimeSpan from microseconds. + + The microseconds. + The TimeSpan. + Converts a string to camel case by lower casing the first letter (only the first letter is modified). @@ -15402,6 +18161,14 @@ The string to camel case. The camel cased string. + + + Should only be used when the safety of the data cannot be guaranteed. For instance, + when the secure string is a password used in a plain text protocol. + + The secure string. + The CLR string. + Default values for various Mongo settings. @@ -15432,6 +18199,11 @@ Gets or sets the representation to use for Guids (this is an alias for BsonDefaults.GuidRepresentation). + + + Gets or sets the maximum batch count. + + Gets or sets the max connection idle time. @@ -15449,7 +18221,7 @@ - Gets or sets the max document size (this is an alias for BsonDefaults.MaxDocumentSize). + Gets or sets the max document size @@ -15582,7 +18354,6 @@ Creates or opens a GridFS file for writing UTF-8 encoded text. - The remote file name. A stream writer. @@ -16537,26 +19308,60 @@ The name of the collection. The settings to use to access this collection. + + + Represents an aggregate framework query. The command is not sent to the server until the result is enumerated. + + The args. + A sequence of documents. + Runs an aggregation framework command. - The pipeline operations. - An AggregateResult. + The pipeline operations. + + An AggregateResult. + Runs an aggregation framework command. - The pipeline operations. + The pipeline operations. An AggregateResult. + + + Runs an aggregate command with explain set and returns the explain result. + + The args. + The explain result. + + + + Executes multiple write requests. + + The args. + + A BulkWriteResult. + + 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 args. + + The number of documents in this collection that match the query. + + Counts the number of documents in this collection that match a query. @@ -16586,6 +19391,13 @@ The names of the indexed fields. A WriteConcernResult. + + + Returns the distinct values for a given field. + + The args. + The distint values of the field. + Returns the distinct values for a given field. @@ -16732,6 +19544,13 @@ Whether to do an upsert if no matching document is found. A . + + + Finds one matching document using the supplied arguments and applies the specified update to it. + + The args. + A . + Finds one matching document using the query and sortBy parameters and removes it from this collection. @@ -16740,6 +19559,13 @@ The sort order to select one of the matching documents. A . + + + Finds one matching document using the supplied args and removes it from this collection. + + The args. + A . + Returns a cursor that can be used to find all documents in this collection that match the query as TDocuments. @@ -16763,6 +19589,14 @@ The type to deserialize the documents as. A TDocument (or null if not found). + + + Returns one document in this collection as a TDocument. + + The type of the document. + The args. + A TDocument (or null if not found). + Returns one document in this collection that matches a query as a TDocument. @@ -16778,6 +19612,14 @@ The nominal type of the documents. A document (or null if not found). + + + Returns one document in this collection as a TDocument. + + The nominal type of the documents. + The args. + A document (or null if not found). + Returns one document in this collection that matches a query as a TDocument. @@ -16812,6 +19654,14 @@ The options for the geoHaystack search (null if none). A . + + + Runs a geoHaystack search command on this collection. + + The type of the found documents. + The args. + A . + Runs a geoHaystack search command on this collection. @@ -16822,6 +19672,22 @@ 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 args. + A . + + + + Runs a GeoNear command on this collection. + + The type to deserialize the documents as. + The args. + A . + Runs a GeoNear command on this collection. @@ -16845,6 +19711,14 @@ 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 args. + A . + Runs a GeoNear command on this collection. @@ -16880,6 +19754,13 @@ The stats for this collection as a . + + + Gets the stats for this collection. + + The args. + The stats for this collection as a . + Gets the total data size for this collection (data + indexes). @@ -16892,6 +19773,13 @@ The total storage size. + + + Runs the group command on this collection. + + The args. + A list of results as BsonDocuments. + Runs the group command on this collection. @@ -16946,6 +19834,18 @@ The name of the index. True if the index exists. + + + Creates a fluent builder for an ordered bulk operation. + + A fluent bulk operation builder. + + + + Creates a fluent builder for an unordered bulk operation. + + A fluent bulk operation builder. + Inserts a document into this collection (see also InsertBatch to insert multiple documents at once). @@ -17092,6 +19992,29 @@ A JavaScript function called on the values emitted by the map function. A . + + + Runs a Map/Reduce command on this collection. + + The args. + A . + + + + Scans an entire collection in parallel using multiple cursors. + + The type of the document. + The args. + Multiple enumerators, one for each cursor. + + + + Scans an entire collection in parallel using multiple cursors. + + Type of the document. + The args. + Multiple enumerators, one for each cursor. + Runs the ReIndex command on this collection. @@ -17258,6 +20181,13 @@ A . + + + Validates the integrity of this collection. + + The args. + A . + Gets the database that contains this collection. @@ -17343,6 +20273,20 @@ The options for the geoHaystack search (null if none). A . + + + Runs a geoHaystack search command on this collection. + + The args. + A . + + + + Runs a GeoNear command on this collection. + + The args. + A . + Runs a GeoNear command on this collection. @@ -17410,6 +20354,13 @@ The write concern to use for this Insert. A list of WriteConcernResults (or null if WriteConcern is disabled). + + + Scans an entire collection in parallel using multiple cursors. + + The args. + Multiple enumerators, one for each cursor. + Saves a document to this collection. The document must have an identifiable Id field. Based on the value @@ -17513,6 +20464,11 @@ Gets or sets the FSync component of the write concern. + + + Gets or sets the GSSAPI service name. + + Gets or sets the representation to use for Guids. @@ -17701,7 +20657,7 @@ Name of the database. The username. The password. - + A credential for MONGODB-CR. @@ -17710,7 +20666,41 @@ Name of the database. The username. The password. - + A credential for MONGODB-CR. + + + + Creates a credential used with MONGODB-CR. + + The username. + A credential for MONGODB-X509. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Creates a PLAIN credential. + + Name of the database. + The username. + The password. + A credential for PLAIN. + + + + Gets the mechanism property. + + The type of the mechanism property. + The key. + The default value. + The mechanism property if one was set; otherwise the default value. @@ -17738,6 +20728,14 @@ A string representation of the credential. + + + Creates a new MongoCredential with the specified mechanism property. + + The key. + The value. + A new MongoCredential with the specified mechanism property. + Gets the evidence. @@ -18382,6 +21380,13 @@ The maximum number of documents to scan. The cursor (so you can chain method calls to it). + + + Sets the maximum time the server should spend on this query. + + The max time. + + Sets the min value for the index key range of documents to return (note: the min value itself is included in the range). @@ -18634,6 +21639,13 @@ The maximum number of documents to scan. The cursor (so you can chain method calls to it). + + + Sets the maximum time the server should spend on this query. + + The max time. + + Sets the min value for the index key range of documents to return (note: the min value itself is included in the range). @@ -18872,6 +21884,13 @@ 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 args. + The result of evaluating the code. + Fetches the document referred to by the DBRef. @@ -19470,6 +22489,11 @@ Gets the FSync component of the write concern. + + + Gets the GSSAPI service name. + + Gets the representation to use for Guids. @@ -19907,6 +22931,34 @@ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. + + + Represents a 2D point represented using x, y coordinates. + + + + + Initializes a new instance of the class. + + The x value. + The y value. + + + + Gets the X value. + + + The X value. + + + + + Gets the Y value. + + + The Y value. + + Represents the result of GetIndexes. diff --git a/Dependencies/MongoDB.Driver.dll b/Dependencies/MongoDB.Driver.dll index ebc2ad3..ab7f2f6 100644 Binary files a/Dependencies/MongoDB.Driver.dll and b/Dependencies/MongoDB.Driver.dll differ diff --git a/Dependencies/MongoDB.Driver.pdb b/Dependencies/MongoDB.Driver.pdb index fa17467..13182a5 100644 Binary files a/Dependencies/MongoDB.Driver.pdb and b/Dependencies/MongoDB.Driver.pdb differ