MongoDB
int32
cstring The int32 is the # bytes following (# of bytes in string + 1 for terminating NULL)
bson object
bson object
int32 byte byte[]
The first int32 is the # of bytes following the byte subtype
VOID
Conceptually equiValent to Javascript undefined. Deprecated.
byte[12]
12 byte object id.
byte
legal values: 0x00 -> false, 0x01 -> true
int64
milliseconds since epoch (e.g. new Date.getTime())
VOID
Mapped to Null in programming languages which have a Null value or type. Conceptually equivalent to Javascript null.
cstring cstring
first ctring is regex expression, second cstring are regex options
int32 cstring byte[12]
Deprecated. Please use a subobject instead
The int32 is the length in bytes of the cstring.
The cstring is the Namespace: full collection name.
The byte array is a 12 byte object id. See note on data_oid.
Int32 cstring
The int32 is the # bytes following (# of bytes in string + 1
for terminating NULL) and then the code as cstring. data_code should
be supported in BSON encoders/decoders, but has been deprecated in
favor of data_code_w_scope
String
int32
int32 cstring bson_object The first int32 is the total # of
bytes (size of cstring + size of bson_object + 8 for the two int32s).
The second int 32 is the size of the cstring (# of bytes in string + 1 for
terminating NULL). The cstring is the code. The bson_object is an object
mapping identifiers to values, representing the scope in which the code
should be evaluated.
Int32
Int64 - first 4 byte are a timestamp, next 4 byte are an incremented field
Int64 - 64 bit integer
VOID - Special type that compares lower than all other types.
VOID - Special type that compares higher than all other types.
Initializes the class.
Gets or sets the epoch.
The epoch.
The maximum size a document can be.
Begins the object.
Ends the object.
The instance.
Begins the array.
Ends the array.
The instance.
Begins the property.
The instance.
The name.
Ends the property.
The instance.
The name.
The value.
Begins the object.
Ends the object.
The instance.
Begins the array.
Ends the array.
The instance.
Begins the property.
The instance.
The name.
Ends the property.
The instance.
The name.
The value.
Gets the type for IEnumerable.
The doc.
Converts to array.
The doc.
Begins the object.
The instance.
Begins the array.
The instance.
Gets the propertiess.
The instance.
Begins the property.
The instance.
The property.
Ends the property.
The instance.
The property.
Ends the array.
The instance.
Ends the object.
The instance.
Determines whether the specified instance is array.
The instance.
true if the specified instance is array; otherwise, false.
Determines whether the specified instance is object.
The instance.
true if the specified instance is object; otherwise, false.
Begins the object.
The instance.
Begins the array.
The instance.
Gets the property names.
The instance.
Begins the property.
The instance.
The property.
Ends the property.
The instance.
The property.
Ends the array.
The instance.
Ends the object.
The obj.
Determines whether the specified obj is array.
The obj.
true if the specified obj is array; otherwise, false.
Determines whether the specified obj is object.
The obj.
true if the specified obj is object; otherwise, false.
Initializes a new instance of the class.
The name.
Gets or sets the name.
The name.
Gets or sets the value.
The value.
Initializes a new instance of the class.
Initializes a new instance of the class.
The builder.
Gets or sets the builder.
The builder.
Reads DataTime from server as local time.
true if [read local time]; otherwise, false.
MongoDB stores all time values in UTC timezone. If true the
time is converted from UTC to local timezone after is was read.
Initializes a new instance of the class.
Initializes a new instance of the class.
The descriptor.
Gets or sets the descriptor.
The descriptor.
Adds the element to instance.
Type of the element.
The elements.
Gets the elements from collection.
The collection.
Adds the element to instance.
Type of the element.
The elements.
Gets the elements from collection.
The collection.
Initializes a new instance of the class.
Gets the mapping store.
Configures the default profile.
The config.
Configures the default profile.
The default profile.
Configures a custom profile.
The filter.
The config.
Adds a custom profile.
The filter.
The profile.
Maps this instance.
Maps the specified config.
The config.
Creates the overrideable profile.
The profile.
Creates the dictionary.
The document.
Gets the document.
The dictionary.
Gets the type of the key.
The type of the key.
Gets the type of the value.
The type of the value.
Creates the dictionary.
The document.
Gets the pairs.
The collection.
Gets the type of the key.
The type of the key.
Gets the type of the value.
The type of the value.
Creates the dictionary.
The document.
Gets the document.
The collection.
Gets the type of the key.
The type of the key.
Gets the type of the value.
The type of the value.
Creates the dictionary.
The document.
Gets the pairs.
The collection.
Gets the type of the key.
The type of the key.
Gets the type of the value.
The type of the value.
Gets the dictionary adapter.
The type.
Gets the type of the dictionary.
The type.
Builds the configuration.
Builds the mapping store.
Sets the connection string.
The connection string.
Builds the connection string.
The config.
Set the apps settings key from which to pull the connection string,
The key.
Configures the mapping.
The config.
Initializes a new instance of the class.
The profile.
Aliaseses the are camel cased.
Aliaseses the are.
The alias.
Collectionses the are named.
Name of the collection.
Collections the names are camel cased.
Collections the names are camel cased and plural.
Conventionses the are.
The conventions.
Discriminators the aliases are.
The discriminator alias.
Discriminators the values are.
The discriminator.
Extendeds the properties are.
The extended property.
Extendeds the properties are.
The extended property.
The member types.
The binding flags.
Extendeds the properties are named.
The name.
Extendeds the properties are named.
The name.
The member types.
The binding flags.
Finds the members with.
The member finder.
Idses the are.
The id.
Idses the are.
The id.
The member types.
The binding flags.
Idses the are named.
The name.
Idses the are named.
The name.
The member types.
The binding flags.
Subs the classes are.
The is sub class.
Uses the collection adapter convention.
The collection adapter convention.
Uses the collection name convention.
The collection name convention.
Uses the default value convention.
The default value convention.
Uses the discriminator alias convention.
The discriminator alias convention.
Uses the discriminator convention.
The discriminator convention.
Uses the extended properties convention.
The extended properties convention.
Uses the id convention.
The id convention.
Uses the id generator convention.
The id generator convention.
Uses the id unsaved value convention.
The id unsaved value convention.
Uses the member alias convention.
The alias convention.
Initializes a new instance of the class.
The overrides.
Collections the name.
The name.
Members the specified member.
The member.
Members the specified name.
The name.
Members the specified member.
The member.
Initializes a new instance of the class.
The overrides.
Aliases the specified name.
The name.
Defaults the value.
The default value.
Ignores this instance.
Persists the null.
Initializes a new instance of the class.
Gets the class overrides for the type.
The type.
Determines whether [has overrides for type] [the specified type].
The type.
true if [has overrides for type] [the specified type]; otherwise, false.
Finds the extended properties member.
Type of the class.
Gets the id member for the class type.
Type of the entity.
Finds the members to map for the class type.
Type of the entity.
Gets the alias for the specified member.
Type of the class.
The member.
Gets the collection name for the class type.
Type of the entity.
Gets the collection adapter.
Type of the class.
The member.
Type of the member return.
Gets the type of the collection element.
Type of the class.
The member.
Type of the member return.
Gets the default value.
Type of the class.
The member.
Gets the dictionary adadpter.
Type of the class.
The member.
Type of the member return.
Gets the descriminator for the class type.
Type of the entity.
Gets the discriminator alias.
Type of the class.
Gets the id generator for the member.
Type of the class.
The member.
Gets the unsaved value for the id.
Type of the entity.
The member.
Gets a value indicating whether the member should be persisted if it is null.
Type of the class.
The member.
Indicates whether the class type is a sub class.
Type of the class.
true if the classType is a sub class; otherwise, false.
Initializes a new instance of the class.
The profile.
The overrides.
Finds the extended properties member.
Type of the class.
Gets the id member for the class type.
Type of the entity.
Finds the members to map for the class type.
Type of the entity.
Gets the property name for the member.
Type of the entity.
The member.
Gets the collection name for the class type.
Type of the entity.
Gets the type of the collection.
Type of the class.
The member.
Type of the member return.
Gets the type of the collection element.
Type of the class.
The member.
Type of the member return.
Gets the default value.
Type of the class.
The member.
Gets the dictionary adadpter.
Type of the class.
The member.
Type of the member return.
Gets the descriminator for the class type.
Type of the entity.
Gets the property name of the discriminator for the class type.
Type of the entity.
Gets the id generator for the member.
The member.
Gets the unsaved value for the id.
Type of the entity.
The member.
Gets a value indicating whether the member should be persisted if it is null.
Type of the class.
The member.
Indicates whether the class type is a sub class.
Type of the class.
true if the classType is a sub class; otherwise, false.
Gets the class override value.
Type of the class.
The overrides.
The accept.
The default value.
Gets the member override value.
Type of the class.
The member.
The overrides.
The accept.
The default value.
Initializes a new instance of the class.
The predicate.
Initializes a new instance of the class.
The predicate.
The member types.
The binding flags.
Gets the member representing the id if one exists.
The type.
Determines whether the specified member info is match.
The member info.
The criteria.
true if the specified member info is match; otherwise, false.
Initializes a new instance of the class.
Ensures the modifiable.
Validates the and seal.
Gets the default.
The default.
Gets or sets the connection string.
The connection string.
Gets or sets the serialization factory.
The serialization factory.
Gets or sets the mapping store.
The mapping store.
Reads DataTime from server as local time.
true if [read local time]; otherwise, false.
MongoDB stores all time values in UTC timezone. If true the
time is converted from UTC to local timezone after is was read.
Gets the collection names.
Gets the collection.
The name.
Gets the collection.
The name.
Gets the collection.
Gets the document that a reference is pointing to.
The reference.
Follows the reference.
The reference.
Most operations do not have a return code in order to save the client from having to wait for results.
GetLastError can be called to retrieve the return code if clients want one.
Retrieves the last error and forces the database to fsync all files before returning.
if set to true [fsync].
Server version 1.3+
Call after sending a bulk operation to the database.
Gets the sister database on the same Mongo connection with the given name.
Name of the sister database.
Resets last error. This is good to call before a bulk operation.
Evals the specified javascript.
The javascript.
Evals the specified javascript.
The javascript.
The scope.
Evals the specified code scope.
The code scope.
Sends the command.
The command name.
Sends the command.
The command.
Sends the command.
Type of serialization root.
The CMD.
Gets or sets the name.
The name.
Gets the meta data.
The meta data.
Gets the javascript.
The javascript.
Gets the with the specified name.
Provides a Fluent interface to build and execute Map/Reduce calls.
Initializes a new instance of the class.
The database.
The name.
Type of the root.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
The map function references the variable this to inspect the current object under consideration.
A map function must call emit(key,value) at least once, but may be invoked any number of times,
as may be appropriate.
The map function references the variable this to inspect the current object under consideration.
A map function must call emit(key,value) at least once, but may be invoked any number of times,
as may be appropriate.
The reduce function receives a key and an array of values. To use, reduce the received values,
and return a result.
The MapReduce engine may invoke reduce functions iteratively; thus, these functions
must be idempotent. If you need to perform an operation only once, use a finalize function.
The reduce function receives a key and an array of values. To use, reduce the received values,
and return a result.
The MapReduce engine may invoke reduce functions iteratively; thus, these functions
must be idempotent. If you need to perform an operation only once, use a finalize function.
Query filter object
Sort the query. Useful for optimization
Number of objects to return from collection
Name of the final collection the results should be stored in.
A temporary collection is still used and then renamed to the target name atomically.
When true the generated collection is not treated as temporary. Specifying out automatically makes
the collection permanent
Provides statistics on job execution time.
Function to apply to all the results when finished.
Document where fields go into javascript global scope
Retrieves the data.
Tries the modify.
Gets a value indicating whether this instance is modifiable.
true if this instance is modifiable; otherwise, false.
Gets the result.
The result.
Gets the command.
The command.
Gets the documents.
The documents.
A fluent interface for executing a Map/Reduce call against a collection.
Initializes a new instance of the class.
The name.
Gets the name.
The name.
The map function references the variable this to inspect the current object under consideration.
A map function must call emit(key,value) at least once, but may be invoked any number of times,
as may be appropriate.
The reduce function receives a key and an array of values. To use, reduce the received values,
and return a result.
The MapReduce engine may invoke reduce functions iteratively; thus, these functions
must be idempotent. If you need to perform an operation only once, use a finalize function.
Gets or sets the query.
The query.
Sort the query. Useful for optimization
Number of objects to return from collection
Name of the final collection the results should be stored in.
A temporary collection is still used and then renamed to the target name atomically.
When true the generated collection is not treated as temporary. Specifying out automatically makes
the collection permanent
Provides statistics on job execution time.
Function to apply to all the results when finished.
Document where fields go into javascript global scope
Mongo Regex options
Specifies that no options are set.
i - Specifies case-insensitive matching.
m - Multiline mode. Changes the meaning of ^ and $ so they match at the beginning
and end, respectively, of any line, and not just the beginning and end of the
entire string.
g - Eliminates unescaped white space from the pattern.
Initializes a new instance of the class.
The result.
Returns a that represents this instance.
A that represents this instance.
Gets the name of the collection.
The name of the collection.
Gets the input count.
The input count.
Gets the emit count.
The emit count.
Gets the output count.
The output count.
Gets the time.
The time.
Gets the time span.
The time span.
Gets a value indicating whether this is ok.
true if ok; otherwise, false.
Gets the error message.
The error message.
Initializes a new instance of the class.
Type of the value.
Adds the property.
The name.
The value.
Builds the object.
Gets the property descriptor.
The name.
Gets or sets the type.
The type.
Gets or sets a value indicating whether this instance is dictionary.
true if this instance is dictionary; otherwise, false.
Initializes a new instance of the class.
The document.
Type of the value.
Gets the properties.
The type of the key.
The type of the element.
Initializes a new instance of the class.
The key.
The group.
Returns an enumerator that iterates through the collection.
A that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Gets the key of the .
The key of the .
Initializes a new instance of the class.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
The message.
The inner.
Initializes a new instance of the class.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
The parameter is null.
The class name is null or is zero (0).
Counts the specified collection.
The collection.
The selector.
Deletes the documents according to the selector.
The collection.
The selector.
Removes the specified collection.
The collection.
The selector.
Finds the selectorified collection.
The collection.
The selector.
Finds the one.
The collection.
The selector.
Linqs the selectorified collection.
The collection.
Linqs the selectorified collection.
The collection.
Updates the selectorified collection.
The collection.
The document.
The selector.
Updates the selectorified collection.
The collection.
The document.
The selector.
if set to true [safe mode].
Updates the selectorified collection.
The collection.
The document.
The selector.
The flags.
Updates the selectorified collection.
The collection.
The document.
The selector.
The flags.
if set to true [safe mode].
Updates all.
The collection.
The document.
The selector.
Updates all.
The collection.
The document.
The selector.
if set to true [safe mode].
Gets the query.
The collection.
The selector.
This class is a construct for writing strongly typed query expressions for Document fields.
It is not meant to be used outside of expressions, since most functions and operators return
fake data and are only used to extract parameter information from expressions.
Initializes a new instance of the class.
The document.
The key.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator >.
A.
The b.
The result of the operator.
Implements the operator >=.
A.
The b.
The result of the operator.
Implements the operator <.
A.
The b.
The result of the operator.
Implements the operator <=.
A.
The b.
The result of the operator.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator >.
A.
The b.
The result of the operator.
Implements the operator >=.
A.
The b.
The result of the operator.
Implements the operator <.
A.
The b.
The result of the operator.
Implements the operator <=.
A.
The b.
The result of the operator.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator >.
A.
The b.
The result of the operator.
Implements the operator >=.
A.
The b.
The result of the operator.
Implements the operator <.
A.
The b.
The result of the operator.
Implements the operator <=.
A.
The b.
The result of the operator.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator >.
A.
The b.
The result of the operator.
Implements the operator >=.
A.
The b.
The result of the operator.
Implements the operator <.
A.
The b.
The result of the operator.
Implements the operator <=.
A.
The b.
The result of the operator.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator >.
A.
The b.
The result of the operator.
Implements the operator >=.
A.
The b.
The result of the operator.
Implements the operator <.
A.
The b.
The result of the operator.
Implements the operator <=.
A.
The b.
The result of the operator.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator >.
A.
The b.
The result of the operator.
Implements the operator >=.
A.
The b.
The result of the operator.
Implements the operator <.
A.
The b.
The result of the operator.
Implements the operator <=.
A.
The b.
The result of the operator.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Equalses the specified other.
The other.
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.
The parameter is null.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Gets the key.
The key.
Initializes a new instance of the class.
The provider.
Initializes a new instance of the class.
The provider.
The expression.
Returns an enumerator that iterates through the collection.
A that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Returns a that represents this instance.
A that represents this instance.
Gets the query object.
Gets the expression tree that is associated with the instance of .
The that is associated with this instance of .
Gets the type of the element(s) that are returned when the expression tree associated with this instance of is executed.
A that represents the type of the element(s) that are returned when the expression tree associated with this object is executed.
Gets the name of the collection.
The name of the collection.
Gets the database.
The database.
Gets the query provider that is associated with this data source.
The that is associated with this data source.
Keys the specified document.
The document.
The key.
Initializes a new instance of the class.
The database.
Name of the collection.
Creates the query.
The type of the element.
The expression.
Constructs an object that can evaluate the query represented by a specified expression tree.
An expression tree that represents a LINQ query.
An that can evaluate the query represented by the specified expression tree.
Executes the specified expression.
The type of the result.
The expression.
Executes the query represented by a specified expression tree.
An expression tree that represents a LINQ query.
The value that results from executing the specified query.
Gets the query object.
The expression.
Executes the query object.
The query object.
Determines whether this instance [can be evaluated locally] the specified expression.
The expression.
true if this instance [can be evaluated locally] the specified expression; otherwise, false.
Executes the count.
The query object.
Gets the name of the collection.
The name of the collection.
Gets the database.
The database.
Initializes a new instance of the class.
Adds the sort.
The name.
The value.
Sets the query document.
The document.
Sets the where clause.
The where clause.
Returns a that represents this instance.
A that represents this instance.
Gets or sets the aggregator.
The aggregator.
Gets or sets the name of the collection.
The name of the collection.
Gets or sets the database.
The database.
Gets or sets the type of the document.
The type of the document.
Gets or sets the fields.
The fields.
Gets or sets the finalizer function.
The finalizer function.
Gets or sets a value indicating whether this is a count query.
true if this is a count query; otherwise, false.
Gets or sets a value indicating whether this instance is map reduce.
true if this instance is map reduce; otherwise, false.
Gets or sets the map function.
The map function.
Gets or sets the reduce function.
The reduce function.
Gets or sets the number to skip.
The number to skip.
Gets or sets the number to limit.
The number to limit.
Gets or sets the projector.
The projector.
Gets or sets the query.
The query.
Gets the sort.
The sort.
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.
Staticly typed way of using MongoDB update modifiers.
Description of Document.
Initializes a new instance of the class.
Initialize a new instance of the class with an optional key sorter.
Initializes a new instance of the class and
add's the given values to it.
The key.
The value.
Initializes a new instance of the class.
The dictionary.
Gets the value of the specified key.
The key.
Gets the typed value of the specified key.
The key.
Gets the value associated with the specified key.
The key whose value to get.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
true if the object that implements contains an element with the specified key; otherwise, false.
is null.
Determines whether the contains an element with the specified key.
The key to locate in the .
true if the contains an element with the key; otherwise, false.
is null.
Adds an element with the provided key and value to the .
The object to use as the key of the element to add.
The object to use as the value of the element to add.
is null.
An element with the same key already exists in the .
The is read-only.
Adds an element with the provided key and value to the .
The object to use as the key of the element to add.
The object to use as the value of the element to add.
is null.
An element with the same key already exists in the .
The is read-only.
Appends the specified key.
The key.
The value.
Sets the value of the specified key.
The key.
The value.
Adds an item to the Document at the specified position
The key.
The value.
The position.
Prepends the specified key.
The key.
The value.
This document
Merges the source document into this.
The source.
This document
Determines whether [contains] [the specified key].
The key.
true if [contains] [the specified key]; otherwise, false.
Removes the specified key.
The key.
true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original .
is null.
The is read-only.
Adds an item to the .
The object to add to the .
The is read-only.
Clears the contents of the instance.
The is read-only.
Determines whether the contains a specific value.
The object to locate in the .
true if is found in the ; otherwise, false.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
TODO Fix any accidental reordering issues.
The dest.
Removes the first occurrence of a specific object from the .
The object to remove from the .
true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
The is read-only.
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.
The parameter is null.
Equalses the specified obj.
The obj.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Gets the value hash code.
The value.
Gets the array hashcode.
The array.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Returns an enumerator that iterates through the collection.
A that can be used to iterate through the collection.
Toes the dictionary.
Returns a that represents this instance.
A that represents this instance.
Ensures the key ordering.
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the to the class.
An that describes the XML representation of the object that is produced by the method and consumed by the method.
Generates an object from its XML representation.
The stream from which the object is deserialized.
Converts an object into its XML representation.
The stream to which the object is serialized.
Gets or sets the with the specified key.
Gets an containing the values in the .
An containing the values in the object that implements .
Gets an containing the keys of the .
An containing the keys of the object that implements .
Gets or sets the mongo _id field.
The id.
Gets the number of elements contained in the .
The number of elements contained in the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false.
Initializes a new instance of the class.
Initializes a new instance of the class.
The name.
The value.
Increments field by the number value. If field is present in the object,
otherwise sets field to the number value.
The field.
The value.
Sets field to value.
The field.
The value.
All datatypes are supported with $set.
Deletes a given field.
The field.
Supported version in MongoDB 1.3 and up.
Deletes the given fields.
The fields.
Supported version in MongoDB 1.3 and up.
Appends value to field, if field is an existing array.
Otherwise sets field to the array and add value if field is not present.
If field is present but is not an array, an error condition is raised.
The field.
The value.
Appends each value in values to field,
if field is an existing array.
Otherwise sets field to the array values if field is not present.
If field is present but is not an array, an error
condition is raised.
The field.
The values.
Adds value to the array only if its not in the array already.
The field.
The value.
Adds values to the array only if its not in the array already.
The field.
The values.
Removes the first element in an array.
The field.
Supported in MongoDB 1.1 and up.
Removes the last element in an array.
The field.
Supported in MongoDB 1.1 and up.
Removes all occurrences of value from field, if field is an array.
If field is present but is not an array, an error condition is raised.
The field.
The value.
Removes all occurrences of each value in values from field,
if field is an array.
If field is present but is not an array, an error condition is raised.
The field.
The values.
Implements the operator &. This is used for conjunctions.
The modifier1.
The modifier2.
The result of the modifier.
Initializes a new instance of the class.
Gets or sets the server error message.
The error message.
Gets or sets a value indicating whether this is success.
true if success; otherwise, false.
Gets or sets the extended properties.
Stores all propertys which are not maped.
The extended properties.
Gets or sets the value.
The value.
Initializes a new instance of the class.
Type of the element.
Adds the property.
The name.
The value.
Builds the object.
Gets the typed list.
Gets the type of the property.
The name.
Gets the type of the result list.
Creates the typed list.
The type.
Gets a value indicating whether this instance is document array.
true if this instance is document array; otherwise, false.
Initializes a new instance of the class.
Adds the property.
The name.
The value.
Builds the object.
Gets the type of the property.
The name.
Generates the id.
The instance.
Gets the property value.
The instance.
Name of the mongo.
Sets the property value.
The instance.
Name of the mongo.
The value.
Gets the mongo property names.
The instance.
Initializes a new instance of the class.
The class map.
Generates the id.
The instance.
Gets the mongo property names.
The instance.
Gets the property value.
The instance.
Name of the mongo.
Sets the property value.
The instance.
Name of the mongo.
The value.
Initializes a new instance of the class.
The enumerable.
Type of the element.
Gets the properties.
Gets the value.
The value.
Initializes a new instance of the class.
The mapping store.
The class map.
Gets the properties.
Creates the property.
The alias.
Type of the value.
The value.
if set to true [is dictionary].
Creates the property.
The alias.
The value.
Gets the member map from the member name.
The name.
Shoulds the persist discriminator.
Gets the name of the alias from member.
The name.
This is an extremely rudimentart lexer designed solely for efficiency.
Initializes a new instance of the class.
The mapping store.
The class map.
The instance.
Gets the property names.
Gets the value.
The name.
Initializes a new instance of the class.
The mapping store.
The class map.
The document.
Gets the property names.
Gets the value.
The name.
Initializes a new instance of the class.
The document.
Gets the properties.
Gets the value.
The value.
Initializes a new instance of the class.
The mapping store.
The class map.
The example.
Gets the property names.
Gets the value.
The property info.
Generates the id.
The instance.
Gets the property value.
The instance.
Name of the mongo.
Sets the property value.
The instance.
Name of the mongo.
The value.
Gets the mongo property names.
The instance.
Gets the bson writer settings.
Type of the root.
Gets the name of the collection given the rootType.
Type of the root.
Gets the object descriptor.
The type.
Gets the bson reader settings.
Type of the root.
Initializes a new instance of the class.
Initializes a new instance of the class.
The mongo configuration.
Gets the builder.
Type of the root.
Gets the descriptor.
Type of the root.
Gets the bson reader settings.
Type of the root.
Gets the bson writer settings.
Type of the root.
Gets the name of the collection given the rootType.
Type of the root.
Gets the object descriptor.
The type.
Base class for all Mongo Exceptions
Initializes a new instance of the class.
The message.
The inner.
Initializes a new instance of the class.
The message.
Initializes a new instance of the class.
The message.
Adds the element to instance.
Type of the element.
The elements.
Gets the elements from collection.
The collection.
Adds the element to instance.
Type of the element.
The elements.
Gets the elements from collection.
The collection.
Adds the element to instance.
Type of the element.
The elements.
Gets the elements from collection.
The collection.
Generates an id for the specified entity.
The entity.
The id map.
Generates an id for the specified entity.
The entity.
The id map.
Generates an id for the specified entity.
The entity.
The id map.
This code was taken from NHibernate.
Initializes a new instance of the class.
The message.
Generates an id for the specified entity.
The entity.
The id map.
Gets the class map.
Type of the class.
Initializes a new instance of the class.
Initializes a new instance of the class.
The profile.
Initializes a new instance of the class.
The auto mapper.
Initializes a new instance of the class.
The profile.
The mapping store.
Initializes a new instance of the class.
The auto mapper.
The mapping store.
Gets the class map for the specified class type.
Type of the entity.
Creates the class map.
Type of the entity.
The class map finder.
Initializes a new instance of the class.
Adds the auto mapper.
The auto mapper.
Creates the class map.
Type of the entity.
The class map finder.
Initializes a new instance of the class.
Initializes a new instance of the class.
The profile.
Initializes a new instance of the class.
The filter.
Initializes a new instance of the class.
The profile.
The filter.
Creates the class map.
Type of the entity.
The class map finder.
Creates the class map.
Type of the entity.
Initializes a new instance of the class.
Finds the extended properties member.
Type of the class.
Gets the id member for the class type.
Type of the entity.
Finds the members to map for the class type.
Type of the entity.
Gets the property name for the member.
Type of the entity.
The member.
Gets the collection name for the class type.
Type of the entity.
Gets the type of the collection.
Type of the class.
The member.
Type of the member return.
Gets the type of the collection element.
Type of the class.
The member.
Type of the member return.
Gets the default value.
Type of the class.
The member.
Gets the dictionary adadpter.
Type of the class.
The member.
Type of the member return.
Gets the descriminator for the class type.
Type of the entity.
Gets the property name of the discriminator for the class type.
Type of the entity.
Gets the id generator for the member.
The member.
Gets the unsaved value for the id.
Type of the entity.
The member.
Gets a value indicating whether the member should be persisted if it is null.
Type of the class.
The member.
Indicates whether the class type is a sub class.
Type of the class.
true if the classType is a sub class; otherwise, false.
Gets or sets the conventions.
The conventions.
Gets or sets the member finder.
The member finder.
Gets or sets the is sub class.
The is sub class.
Initializes a new instance of the class.
Gets the overrides for.
The member info.
Gets or sets the name of the collection.
The name of the collection.
Finds the members.
The type.
Gets or sets the alias to use for the member.
The alias.
Gets or sets the default value.
The default value.
Gets or sets a value whether the member should be ignored from the map.
true if exclude; otherwise, false.
Gets or sets a value indicating whether.
true if [persist if null]; otherwise, false.
Initializes a new instance of the class.
Finds the members.
The type.
Initializes a new instance of the class.
Gets or sets the alias convention.
The alias convention.
Gets or sets the collection adapter convention.
The collection adapter convention.
Gets or sets the collection name convention.
The collection name convention.
Gets or sets the default value convention.
The default value convention.
Gets or sets the dictionary adapter convention.
The dictionary adapter convention.
Gets or sets the discriminator convention.
The discriminator convention.
Gets or sets the discriminator alias convention.
The discriminator alias convention.
Gets or sets the extended properties convention.
The extended properties convention.
Gets or sets the id convention.
The id convention.
Gets or sets the id generator convention.
The id generator convention.
Gets or sets the id unsaved value convention.
The id unsaved value convention.
Gets the collection adapter.
The type.
Gets the type of the element.
The type.
Gets the type of the collection.
The type.
Gets the type of the element.
The type.
Gets the default value.
The type.
Initializes a new instance of the class.
Gets the default value.
The type.
Gets the generator.
The type.
Initializes a new instance of the class.
Gets the generator.
The type.
Gets the unsaved value.
The type.
Initializes a new instance of the class.
Gets the unsaved value.
The type.
Gets the alias.
The member.
Initializes a new instance of the class.
The alias.
Gets the alias.
The member info.
Gets the name of the collection.
Type of the entity.
Initializes a new instance of the class.
Name of the collection.
Gets the name of the collection.
Type of the entity.
Gets the name of the discriminator property if one exists.
The type.
Initializes a new instance of the class.
The discriminator alias.
Gets the discriminator alias.
Type of the class.
Gets the discriminator if one exists.
The type.
Initializes a new instance of the class.
The discriminator.
Gets the discriminator.
Type of the entity.
Gets the member representing extended properties if one exists.
Type of the entity.
Gets the member representing the id if one exists.
Type of the entity.
Initializes a new instance of the class.
The predicate.
Initializes a new instance of the class.
The predicate.
The member types.
The binding flags.
Gets the member representing extended properties if one exists.
Type of the entity.
Initializes a new instance of the class.
The predicate.
Initializes a new instance of the class.
The predicate.
The member types.
The binding flags.
Gets the member representing the id if one exists.
Type of the entity.
Creates an instance of the entity.
Gets the class map from the specified discriminator.
The discriminator.
Gets the id of the specified entitiy.
The entity.
Gets the member map that corresponds to the specified alias.
The alias.
Gets the member map that corresponds to the specified member name.
Name of the member.
Gets the type of class to which this map pertains.
The type of the class.
Gets the name of the collection.
The name of the collection.
Gets the discriminator.
The discriminator.
Gets the alias used to store the discriminator.
The discriminator alias.
Gets the extended properties map.
The extended properties map.
Gets a value indicating whether this instance has discriminator.
true if this instance has discriminator; otherwise, false.
Gets a value indicating whether the class map has extended properties.
true if the class map has extended properties; otherwise, false.
Gets a value indicating whether the class map has an id.
true if the class map has an id; otherwise, false.
Gets the id map.
The id map.
Gets a value indicating whether this class map is polymorphic.
true if this class map is polymorphic; otherwise, false.
Gets a value indicating whether this class map is a subclass.
true if this class map is a subclass; otherwise, false.
Gets the member maps.
The member maps.
Gets the sub class maps.
The sub class maps.
Initializes a new instance of the class.
Type of the entity.
Creates an instance of the entity.
Gets the class map from discriminator.
The discriminator.
Gets the id of the specified entitiy.
The entity.
Gets the member map from alias.
Name of the property.
Gets the member map that corresponds to the specified member name.
Name of the member.
Adds the member map.
The member map.
Adds the member maps.
The member maps.
Adds the sub class map.
The sub class map.
Adds the sub class maps.
The sub class maps.
Gets the type of class to which this map pertains.
The type of the class.
Gets the name of the collection.
The name of the collection.
Gets the discriminator.
The discriminator.
Gets the alias used to store the discriminator.
The discriminator alias.
Gets the extended properties map.
The extended properties map.
Gets a value indicating whether this instance has discriminator.
true if this instance has discriminator; otherwise, false.
Gets a value indicating whether the class map has extended properties.
true if the class map has extended properties; otherwise, false.
Gets a value indicating whether the class map has an id.
true if the class map has an id; otherwise, false.
Gets the id map.
The id map.
Gets a value indicating whether this class map is polymorphic.
true if this class map is polymorphic; otherwise, false.
Gets a value indicating whether this class map is a subclass.
true if this class map is a subclass; otherwise, false.
Gets the member maps.
The member maps.
Gets the sub class maps.
The sub class maps.
Initializes a new instance of the class.
Type of the entity.
Gets the name of the collection.
The name of the collection.
Gets the alias used to store the discriminator.
The discriminator alias.
Gets the extended properties map.
The extended properties map.
Gets the id map.
The id map.
Gets a value indicating whether this class map is a subclass.
true if this class map is a subclass; otherwise, false.
Initializes a new instance of the class.
Name of the member.
Type of the member return.
The getter.
The setter.
Gets the value.
The instance.
Sets the value on the specified instance.
The instance.
The value.
Gets the name of the member.
The name of the member.
Gets the type of the member return.
The type of the member return.
Initializes a new instance of the class.
Name of the member.
Type of the member return.
The getter.
The setter.
The default value.
The alias.
if set to true [persist null].
Gets the alias in which to store the value.
The name.
Gets a value indicating whether [default value].
true if [default value]; otherwise, false.
Gets a value indicating whether or not null should be persisted to the database.
true if the null should be persisted; otherwise, false.
Initializes a new instance of the class.
Name of the member.
Type of the member return.
The getter.
The setter.
The alias.
if set to true [persist null].
Type of the collection.
Type of the element.
Gets the value.
The instance.
Sets the value on the specified instance.
The instance.
The value.
Gets the type of the element.
The type of the element.
Initializes a new instance of the class.
Name of the member.
The getter.
The setter.
The alias.
if set to true [persist null].
The dictionary adapter.
Gets the value.
The instance.
Sets the value on the specified instance.
The instance.
The value.
Gets the type of the key.
The type of the key.
Gets the type of the value.
The type of the value.
Initializes a new instance of the class.
Name of the member.
Type of the member return.
The getter.
The setter.
Initializes a new instance of the class.
Name of the member.
Type of the member.
The getter.
The setter.
The generator.
The unsaved value.
Generates the specified entity.
The entity.
Gets the id's unsaved value.
The unsaved value.
Gets the getter.
The member info.
Gets the field getter.
The field info.
Gets the property getter.
The property info.
Gets the setter.
The member info.
Gets the field setter.
The field info.
Gets the property setter.
The property info.
Creates the key.
The member info.
Initializes a new instance of the class.
Type of the entity.
Gets the name of the collection.
The name of the collection.
Gets the alias used to store the discriminator.
The discriminator alias.
Gets the extended properties map.
The extended properties map.
Gets the id map.
The id map.
Gets a value indicating whether this class map is a subclass.
true if this class map is a subclass; otherwise, false.
Gets the member maps.
The member maps.
Gets or sets the super class map.
The super class map.
Represents a raw connection on the wire which is managed by the
connection pool.
Initializes a new instance of the class.
The end point.
The connection timeout.
Releases unmanaged resources and performs other cleanup operations before the
is reclaimed by garbage collection.
Gets the stream.
Determines whether the specified database name is authenticated.
Name of the database.
true if the specified database name is authenticated; otherwise, false.
Marks as authenticated.
Marks as invalid.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets or sets a value indicating whether this instance is invalid.
true if this instance is invalid; otherwise, false.
Gets a value indicating whether this instance is connected.
true if this instance is connected; otherwise, false.
Gets or sets the creation time.
The creation time.
Gets or sets the end point.
The end point.
Lazily loaded meta data on the collection.
Initializes a new instance of the class.
The configuration.
Name of the database.
The name.
The connection.
Creates the index.
The name.
The fields and directions.
if set to true [unique].
Creates the index.
The fields and directions.
if set to true [unique].
Drops the index.
The name.
Renames the specified new name.
The new name.
Refreshes this instance.
Generates the name of the index.
The fields and directions.
if set to true [unique].
Gets the options.
The options.
Gets the indexes.
The indexes.
Connection is a managment unit which uses a RawConnection from connection pool
to comunicate with the server.
If an connection error occure, the RawConnection is transparently replaced
by a new fresh connection.
Initializes a new instance of the class.
The pool.
Releases unmanaged resources and performs other cleanup operations before the
is reclaimed by garbage collection.
Sends the two way message.
The MSG.
The database.
Used for sending a message that gets a reply such as a query.
The message.
The reader settings.
The database.
A reconnect will be issued but it is up to the caller to handle the error.
Sends the two way message core.
The message.
The reader settings.
Used for sending a message that gets no reply such as insert or update.
The message.
The database.
A reconnect will be issued but it is up to the caller to handle the error.
Sends the message core.
The message.
Just sends a simple message string to the database.
A
Opens this instance.
Closes this instance.
Replaces the invalid connection.
Gets the stream.
Sends the command.
The factory.
The database.
Type of the command.
The command.
Sends the command.
The factory.
The database.
Type of serialization root.
The spec.
Sends the command core.
The factory.
The database.
Type of serialization root.
The spec.
Authenticates the on first request.
Name of the database.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Releases unmanaged and - optionally - managed resources
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Gets the connection string.
The connection string.
Gets the end point.
The end point.
Gets a value indicating whether this instance is connected.
true if this instance is connected; otherwise, false.
Initializes the class.
Shutdowns this instance.
Gets the connection.
The connection string.
Creates the factory.
The connection string.
Called when [maintenace wakeup].
Gets the pool count.
The pool count.
Opens a connection.
Closes the specified connection.
The connection.
Cleanups this instance.
Gets the connection string.
The connection string.
Initializes a new instance of the class.
The connection string.
Opens a connection.
Closes the specified connection.
The connection.
Cleanups this instance.
Creates the raw connection.
Gets the next end point.
Currently is only cyles to the server list.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets or sets the builder.
The builder.
Gets or sets the connection string.
The connection string.
Connection pool implementation based on this document:
http://msdn.microsoft.com/en-us/library/8xx3tyca%28VS.100%29.aspx
Initializes a new instance of the
class.
The connection string.
Cleanups the connections.
Checks the free connections alive.
Disposes the invalid connections.
Determines whether the specified connection is alive.
The connection.
true if the specified connection is alive; otherwise, false.
Borrows the connection.
Returns the connection.
The connection.
Ensures the size of the minimal pool.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets the size of the pool.
The size of the pool.
Simple connection factory which only creates and closes connections.
Initializes a new instance of the class.
The connection string.
Opens a connection.
Closes the specified connection.
The connection.
Class that knows how to format a native object into bson bits.
Initializes a new instance of the class.
The stream.
The settings.
Initializes a new instance of the class.
The stream.
The descriptor.
Writes the value.
Type of the data.
The obj.
Writes the specified id.
The id.
Writes the specified binary.
The binary.
Writes the specified GUID.
The GUID.
Writes the specified bytes.
The bytes.
Writes the specified code scope.
The code scope.
Writes the specified code.
The code.
Writes the specified regex.
The regex.
Writes the specified reference.
The reference.
Writes the specified data time.
The data time.
Writes the object.
The obj.
Writes the elements.
The obj.
Writes the array.
The enumerable.
Writes the specified value.
The value.
Writes the specified value.
The value.
if set to true [include length].
Calculates the size.
The obj.
Calculates the size.
The code.
Calculates the size.
The regex.
Calculates the size.
The code scope.
Calculates the size.
The binary.
Calculates the size.
The bytes.
Calculates the size.
The GUID.
Calculates the size.
The reference.
Calculates the size object.
The obj.
Calculates the size object.
The obj.
The propertys.
Calculates the size.
The enumerable.
Calculates the size.
The value.
Calculates the size.
The value.
if set to true [include length].
Flushes this instance.
Translates the type of to bson.
The obj.
Administration of metadata for a database.
Initializes a new instance of the class.
The configuration.
The name.
The conn.
Creates the collection.
The name.
Creates the collection.
The name.
The options.
Drops the collection.
The col.
Drops the collection.
The name.
Drops the database.
Adds the user.
The username.
The password.
Removes the user.
The username.
Lists the users.
Finds the user.
The username.
Finds the user.
The spec.
Native type that maps to a database reference. Use Database.FollowReference(DBRef) to retrieve the document
that it refers to.
DBRefs are just a specification for a specially formatted Document. At this time the database
does no special handling of them. Any referential integrity must be maintained by the application
not the database.
Initializes a new instance of the class.
Constructs a DBRef from a document that matches the DBref specification.
Initializes a new instance of the class.
The database reference.
Initializes a new instance of the class.
Name of the collection.
The id.
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.
The parameter is null.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Returns a that represents this instance.
A that represents this instance.
Deprecated. Use the new DBRef(Document) constructor instead.
Determines whether [is document DB ref] [the specified document].
The document.
true if [is document DB ref] [the specified document]; otherwise, false.
Performs an explicit conversion from to .
The db ref.
The result of the conversion.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
The name of the collection the referenced document is in.
Object value of the id. It isn't an Oid because document ids are not required to be oids.
An extension to the spec that allows storing of arbitrary data about a reference.
The meta data.
This is a non-standard feature.
Raised when a command returns a failure message.
Initializes a new instance of the class.
The message.
The error.
The command.
Initializes a new instance of the class.
The message.
The error.
The command.
The e.
Gets or sets the error.
The error.
Gets or sets the command.
The command.
Initializes a new instance of the class.
The message.
The connection string.
The end point.
Initializes a new instance of the class.
The message.
The connection string.
The end point.
The inner exception.
Initializes a new instance of the class.
The message.
The connection.
Initializes a new instance of the class.
The message.
The connection.
The inner exception.
Gets or sets the connection string.
The connection string.
Gets or sets the end point.
The end point.
Raised when an action causes a unique constraint violation in an index.
Initializes a new instance of the class.
The message.
The error.
Initializes a new instance of the class.
The message.
The error.
The e.
Gets or sets the error.
The error.
Initializes a new instance of the class.
The message.
The error.
Initializes a new instance of the class.
The message.
The error.
The e.
Raised when an update action causes a unique constraint violation in an index.
It is only another class because Mongo makes a distinction and it may be helpful.
Initializes a new instance of the class.
The message.
The error.
Initializes a new instance of the class.
The message.
The error.
The e.
Raised when a map reduce call fails.
Initializes a new instance of the class.
The exception.
Gets or sets the map reduce result.
The map reduce result.
Specs the specified spec.
The spec.
Limits the specified limit.
The limit.
Skips the specified skip.
The skip.
Fieldses the specified fields.
The fields.
Optionses the specified options.
The options.
Sorts the specified field.
The field.
Sorts the specified field.
The field.
The order.
Sorts the specified fields.
The fields.
Hints the specified index.
The index.
Keeps the cursor open.
if set to true [value].
By default cursors are closed automaticly after documents
are Enumerated.
Snapshots this instance.
Explains this instance.
Gets the id.
The id.
Gets a value indicating whether this instance is modifiable.
true if this instance is modifiable; otherwise, false.
Gets the documents.
The documents.
Gets the named database.
The name.
Connects this instance.
Tries to connect to server.
Disconnects this instance.
Gets the connection string.
The connection string.
Gets the with the specified name.
Finds the one.
The selector.
Finds all.
Finds the specified where.
The where.
Finds the specified selector.
The selector.
Finds the specified spec.
The spec.
The limit.
The skip.
Finds the specified spec.
The spec.
The limit.
The skip.
The fields.
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
containing the names of columns to sort on with the values being the
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
if set to true [return new].
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
containing the names of columns to sort on with the values being the
if set to true [return new].
A
Maps the reduce.
Counts this instance.
Counts the specified spec.
The selector.
Inserts the specified doc.
The document.
Inserts the specified doc.
The document.
if set to true [safemode].
Inserts the specified docs.
The docs.
Inserts the specified docs.
The docs.
if set to true [safemode].
Deletes the specified selector.
The selector.
Removes the specified selector.
The selector.
Deletes the specified selector.
The selector.
if set to true [safemode].
Removes the specified selector.
The selector.
if set to true [safemode].
Updates the specified doc.
The document.
Updates the specified doc.
The document.
The selector.
Updates the specified doc.
The document.
The selector.
The flags.
Updates the specified doc.
The document.
if set to true [safemode].
Updates the specified doc.
The document.
The selector.
if set to true [safemode].
Updates the specified doc.
The document.
The selector.
The flags.
if set to true [safemode].
Updates all.
The document.
The selector.
Updates all.
The document.
The selector.
if set to true [safemode].
Saves the specified doc.
The document.
Saves the specified doc.
The document.
if set to true [safemode].
Gets the name.
The name.
Gets the name of the database.
The name of the database.
Gets the full name.
The full name.
Gets the database.
The database.
Gets the meta data.
The meta data.
Description of Mongo.
Initializes a new instance of the class.
Initializes a new instance of the class.
The connection string.
Initializes a new instance of the class.
The mongo configuration.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets the named database.
The name.
Connects to server.
Thrown when connection fails.
Tries to connect to server.
Disconnects this instance.
Gets the databases.
Gets the connection string.
The connection string.
Gets the with the specified name.
Reads binary streams containing BSON data and converts them to native types.
Initializes a new instance of the class.
The stream.
The settings.
Initializes a new instance of the class.
The stream.
The builder.
Reads this instance.
Reads the object.
Reads the array.
Reads the elements.
The instance.
Reads the element.
The instance.
Reads the type of the element.
The type number.
Reads the date time.
Reads the string.
Reads the length string.
Gets the string.
The length.
Reads the scope.
Reads the code.
Reads the regex.
Reads the binary.
Gets the last full char stop.
The start.
Byteses the in sequence.
The b.
Ensures the buffers.
Gets or sets the position.
The position.
Initializes a new instance of the class.
The cursor.
Specs the specified spec.
The spec.
Limits the specified limit.
The limit.
Skips the specified skip.
The skip.
Fieldses the specified fields.
The fields.
Optionses the specified options.
The options.
Sorts the specified field.
The field.
Sorts the specified field.
The field.
The order.
Sorts the specified fields.
The fields.
Hints the specified index.
The index.
Keeps the cursor open.
if set to true [value].
By default cursors are closed automaticly after documents
are Enumerated.
Snapshots this instance.
Explains this instance.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets the id.
The id.
Gets a value indicating whether this instance is modifiable.
true if this instance is modifiable; otherwise, false.
Gets the documents.
The documents.
Initializes a new instance of the class.
The configuration.
The connection.
Name of the database.
The name.
Finds the one.
The spec.
Finds all.
Finds the specified where.
The where.
Finds the specified spec.
The spec.
Finds the specified spec.
The spec.
The limit.
The skip.
Finds the specified spec.
The spec.
The limit.
The skip.
The fields.
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
containing the names of columns to sort on with the values being the
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
if set to true [return new].
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
containing the names of columns to sort on with the values being the
if set to true [return new].
A
Maps the reduce.
Counts this instance.
Counts the specified spec.
The spec.
Inserts the specified doc.
The document.
Inserts the specified doc.
The document.
if set to true [safemode].
Inserts the specified docs.
The docs.
Inserts the specified docs.
The docs.
if set to true [safemode].
Deletes the specified selector.
The selector.
Removes the specified selector.
The selector.
Deletes the specified selector.
The selector.
if set to true [safemode].
Removes the specified selector.
The selector.
if set to true [safemode].
Updates the specified doc.
The document.
if set to true [safemode].
Updates the specified doc.
The document.
Updates the specified doc.
The document.
The selector.
Updates the specified doc.
The document.
The selector.
if set to true [safemode].
Updates the specified doc.
The document.
The selector.
The flags.
Updates the specified doc.
The document.
The selector.
The flags.
if set to true [safemode].
Updates all.
The document.
The selector.
Updates all.
The document.
The selector.
if set to true [safemode].
Saves the specified doc.
The document.
Saves the specified doc.
The document.
if set to true [safemode].
Gets the database.
The database.
Gets the name.
The name.
Gets the name of the database.
The name of the database.
Gets the full name.
The full name.
Gets the meta data.
The meta data.
A collection is a storage unit for a group of s. The documents do not all have to
contain the same schema but for efficiency they should all be similar.
Safemode checks the database for any errors that may have occurred during
the insert such as a duplicate key constraint violation.
Finds and returns the first document in a selector query.
The where.
A from the collection.
Finds and returns the first document in a selector query.
The selector.
A from the collection.
Returns a cursor that contains all of the documents in the collection.
Cursors load documents from the database in batches instead of all at once.
Uses the $where operator to query the collection. The value of the where is Javascript that will
produce a true for the documents that match the criteria.
Javascript
Queries the collection using the query selector.
The selector.
A
Queries the collection using the specification and only returns a subset of fields.
The selector.
The fields.
A
Deprecated. Use the fluent interface on the cursor to specify a limit and skip value.
The selector.
The limit.
The skip.
Queries the collection using the specification and only returns a subset of fields
The selector.
The limit.
The skip.
The fields.
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
containing the names of columns to sort on with the values being the
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
if set to true [return new].
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
The selector.
containing the names of columns to sort on with the values being the
if set to true [return new].
A
Entrypoint into executing a map/reduce query against the collection.
Count all items in the collection.
Count all items in a collection that match the query selector.
The selector.
It will return 0 if the collection doesn't exist yet.
Inserts the Document into the collection.
Inserts the specified doc.
The doc.
Bulk inserts the specified documents into the database.
See the safemode description in the class description
Bulk inserts the specified documents into the database.
The documents.
Deletes documents from the collection according to the selector.
The selector.
if set to true [safemode].
An empty document will match all documents in the collection and effectively truncate it.
See the safemode description in the class description
Remove documents from the collection according to the selector.
The selector.
if set to true [safemode].
An empty document will match all documents in the collection and effectively truncate it.
See the safemode description in the class description
Deletes documents from the collection according to the selector.
The selector.
An empty document will match all documents in the collection and effectively truncate it.
Remove documents from the collection according to the selector.
The selector.
An empty document will match all documents in the collection and effectively truncate it.
Inserts or updates a document in the database. If the document does not contain an _id one will be
generated and an upsert sent. Otherwise the document matching the _id of the document will be updated.
The document.
if set to true [safemode].
See the safemode description in the class description
Inserts or updates a document in the database. If the document does not contain an _id one will be
generated and an upsert sent. Otherwise the document matching the _id of the document will be updated.
The document.
Updates the specified document with the current document. In order to only do a partial update use a
document containing modifier operations ($set, $unset, $inc, etc.)
The document.
The selector.
if set to true [safemode].
See the safemode description in the class description
Updates the specified document with the current document. In order to only do a partial update use a
document containing modifier operations ($set, $unset, $inc, etc.)
The document.
The selector.
Updates the specified document with the current document. In order to only do a partial update use a
document containing modifier operations ($set, $unset, $inc, etc.)
The document.
The selector.
The flags.
if set to true [safemode].
See the safemode description in the class description
Updates the specified document with the current document. In order to only do a partial update use a
document containing modifier operations ($set, $unset, $inc, etc.)
The to update with
The query selector to find the document to update.
Runs a multiple update query against the database. It will wrap any
doc with $set if the passed in doc doesn't contain any '$' modifier ops.
The document.
The selector.
Runs a multiple update query against the database. It will wrap any
doc with $set if the passed in doc doesn't contain any '$' modifier ops.
The document.
The selector.
if set to true [safemode].
See the safemode description in the class description
Inserts or updates a document in the database. If the document does not contain an _id one will be
generated and an upsert sent. Otherwise the document matching the _id of the document will be updated.
The document.
The document will contain the _id that is saved to the database.
Saves a document to the database using an upsert.
The document.
if set to true [safemode].
Gets the database.
The database.
Name of the collection.
String value of the database name.
Full name of the collection databasename . collectionname
Metadata about the collection such as indexes.
Initializes a new instance of the class.
The configuration.
The connection.
Name of the database.
The name.
Finds and returns the first document in a selector query.
The where.
A from the collection.
Finds and returns the first document in a query.
A representing the query.
A from the collection.
Finds all.
Finds the specified where.
The where.
Finds the specified spec.
The spec.
Finds the specified spec.
The spec.
A
Finds the specified spec.
The spec.
The limit.
The skip.
Finds the specified spec.
The spec.
The limit.
The skip.
The fields.
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
containing the names of columns to sort on with the values being the
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
if set to true [return new].
A
Executes a query and atomically applies a modifier operation to the first document returning the original document
by default.
The document.
to find the document.
containing the names of columns to sort on with the values being the
if set to true [return new].
A
Entrypoint into executing a map/reduce query against the collection.
A
Count all items in the collection.
Count all items in a collection that match the query spec.
The spec.
It will return 0 if the collection doesn't exist yet.
Inserts the Document into the collection.
Inserts the specified doc.
The doc.
Inserts all.
The type of the element.
The documents.
if set to true [safemode].
Inserts the specified documents.
The documents.
Deletes documents from the collection according to the spec.
The selector.
if set to true [safemode].
An empty document will match all documents in the collection and effectively truncate it.
Remove documents from the collection according to the selector.
The selector.
if set to true [safemode].
An empty document will match all documents in the collection and effectively truncate it.
See the safemode description in the class description
Deletes documents from the collection according to the spec.
The selector.
An empty document will match all documents in the collection and effectively truncate it.
Remove documents from the collection according to the selector.
The selector.
An empty document will match all documents in the collection and effectively truncate it.
Updates the specified document.
The document.
if set to true [safemode].
Updates a document with the data in doc as found by the selector.
The document.
_id will be used in the document to create a selector. If it isn't in
the document then it is assumed that the document is new and an upsert is sent to the database
instead.
Updates the specified document.
The document.
The selector.
if set to true [safemode].
Updates a document with the data in doc as found by the selector.
The document.
The selector.
Updates the specified document.
The document.
The selector.
The flags.
if set to true [safemode].
Updates a document with the data in doc as found by the selector.
The to update with
The query spec to find the document to update.
Runs a multiple update query against the database. It will wrap any
doc with $set if the passed in doc doesn't contain any '$' ops.
The document.
The selector.
Updates all.
The document.
The selector.
if set to true [safemode].
Saves a document to the database using an upsert.
The document.
The document will contain the _id that is saved to the database. This is really just an alias
to Update(Document) to maintain consistency between drivers.
Saves a document to the database using an upsert.
The document.
if set to true [safemode].
The document will contain the _id that is saved to the database. This is really just an alias
to Update(Document) to maintain consistency between drivers.
Checks the error.
if set to true [safemode].
Checks the previous error.
if set to true [safemode].
Ensures the update document.
The document.
Gets the database.
The database.
Gets or sets the name.
The name.
Gets or sets the name of the database.
The name of the database.
Gets the full name including database name.
The full name.
Gets the meta data.
The meta data.
Initializes a new instance of the
class. Uses the default server connection when
no server is added.
Initializes a new instance of the
class. Uses the default server connection when
no server is added.
The connection string.
Parses the URI.
The connection string.
Parses the specified connection string.
The connection string.
Parses the value pair.
The pair.
Parses the specified key.
The key.
The value.
Parses the servers.
The value.
Adds the server.
The end point.
Clears the servers.
Adds the server with the given host and default port.
The host.
Adds the server with the given host and port.
The host.
The port.
Returns a
that represents this instance.
A
that represents this instance.
Gets the servers.
The servers.
Gets or sets the password.
The password.
Gets or sets the username.
The username.
Gets or sets the maximum size of the connection pool.
The maximum size of the pool.
Gets or sets the size of the minimum connection pool.
The size of the minimal pool.
Gets or sets the connection lifetime in connection pool.
The connection lifetime.
Gets or sets the connection timeout.
The connection timeout.
Gets or sets a value indicating whether connection is pooled.
true if pooled; otherwise, false.
Gets or sets the database.
Is only used when passing directly constructing MongoDatabase instance.
The database.
Initializes a new instance of the class.
The connection string.
Initializes a new instance of the class.
The configuration.
Initializes a new instance of the class.
The configuration.
The conn.
The name.
Gets the collection names.
Gets the collection.
The name.
Gets the collection.
The name.
Gets the collection.
Gets the document that a reference is pointing to.
The reference.
Follows the reference.
The reference.
Most operations do not have a return code in order to save the client from having to wait for results.
GetLastError can be called to retrieve the return code if clients want one.
Retrieves the last error and forces the database to fsync all files before returning.
if set to true [fsync].
Server version 1.3+
Call after sending a bulk operation to the database.
Gets the sister database on the same Mongo connection with the given name.
Name of the sister database.
Resets last error. This is good to call before a bulk operation.
Evals the specified javascript.
The javascript.
Evals the specified javascript.
The javascript.
The scope.
Evals the specified code scope.
The code scope.
Sends the command.
The command name.
Sends the command.
The CMD.
Sends the command.
Type of serialization root.
The CMD.
Sends the command.
Name of the command.
Sends the command.
The command.
Sends the command.
Type of serialization root.
The command.
Gets or sets the name.
The name.
Gets the meta data.
The meta data.
Gets the javascript.
The javascript.
Gets the with the specified name.
Class representing the MaxKey Bson type. It will always compare higher than any other type.
Initializes the class.
Initializes a new instance of the class.
Returns a that represents this instance.
A that represents this instance.
Gets the value.
The value.
Class representing the MinKey Bson type. It will always compare lower than any other type.
Initializes the class.
Initializes a new instance of the class.
Returns a that represents this instance.
A that represents this instance.
Gets or sets the value.
The value.
Represents a mongodb server with host and port.
The mongo default host name.
The mongo default server port.
The default MongoServerEndPoint.
Initializes a new instance of the class.
Initializes a new instance of the class.
The host.
Initializes a new instance of the class.
The port.
Initializes a new instance of the class.
The host.
The port.
Returns a that represents this instance.
A that represents this instance.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
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.
The parameter is null.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the to the class.
An that describes the XML representation of the object that is produced by the method and consumed by the method.
Generates an object from its XML representation.
The stream from which the object is deserialized.
Converts an object into its XML representation.
The stream to which the object is serialized.
Gets or sets the host.
The host.
Gets or sets the port.
The port.
Oid is an immutable object that represents a Mongo ObjectId.
Initializes a new instance of the class.
Needed for some serializers.
Initializes a new instance of the class.
The value.
Initializes a new instance of the class.
The value.
Initializes a new instance of the class.
The oid.
Compares the current object with another object of the same type.
An object to compare with this object.
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings:
Value
Meaning
Less than zero
This object is less than the parameter.
Zero
This object is equal to .
Greater than zero
This object is greater than .
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
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.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Returns a that represents this instance.
A that represents this instance.
Returns a that represents this instance.
The format.
A that represents this instance.
J = Returns Javascript string
Returns a that represents this instance.
The format.
The format provider.
A that represents this instance.
J = Returns Javascript string
Converts the Oid to a byte array.
Generates an Oid using OidGenerator.
A
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Implements the operator >.
A.
The b.
The result of the operator.
Implements the operator <.
A.
The b.
The result of the operator.
Validates the hex.
The value.
Decodes the hex.
The value.
Parses the bytes.
The value.
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the to the class.
An that describes the XML representation of the object that is produced by the method and consumed by the method.
Generates an object from its XML representation.
The stream from which the object is deserialized.
Converts an object into its XML representation.
The stream to which the object is serialized.
Gets the created.
The created.
Initializes a new instance of the class.
Initializes a new instance of the class.
The expression.
Initializes a new instance of the class.
The expression.
The options.
Initializes a new instance of the class.
The regex.
Initializes a new instance of the class.
The expression.
The options.
Builds a .Net Regex.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the to the class.
An that describes the XML representation of the object that is produced by the method and consumed by the method.
Generates an object from its XML representation.
The stream from which the object is deserialized.
Converts an object into its XML representation.
The stream to which the object is serialized.
Toggles the option.
The option.
if set to true [enabled].
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.
The parameter is null.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Returns a that represents this instance.
A that represents this instance.
A valid regex string including the enclosing / characters.
Gets or sets the options.
The options.
A string that may contain only the characters 'g', 'i', and 'm'.
Because the JS and TenGen representations support a limited range of options,
any nonconforming options will be dropped when converting to this representation
Initializes a new instance of the class.
Generates this instance.
Generates the time.
Generates the inc.
Generates the constants.
Generates the host hash.
Generates the proc id.
Initializes a new instance of the class.
Initializes a new instance of the class.
The value.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
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.
The parameter is null.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Returns a that represents this instance.
A that represents this instance.
Gets or sets the value.
The value.
Initializes a new instance of the class.
Initializes a new instance of the class.
The code.
Initializes a new instance of the class.
The code.
The scope.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
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.
The parameter is null.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
Gets or sets the value.
The value.
Gets or sets the scope.
The scope.
Initializes a new instance of the class.
Initializes a new instance of the class.
The value.
Initializes a new instance of the class.
The bytes.
The subtype.
Creates a new object that is a copy of the current instance.
A new object that is a copy of this instance.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Returns an enumerator that iterates through the collection.
A that can be used to iterate through the collection.
Performs an implicit conversion from to .
The binary.
The result of the conversion.
Performs an implicit conversion from to .
The bytes.
The result of the conversion.
Implements the operator ==.
The left.
The right.
The result of the operator.
Implements the operator !=.
The left.
The right.
The result of the operator.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
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.
The parameter is null.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Returns a that represents this instance.
A that represents this instance.
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the to the class.
An that describes the XML representation of the object that is produced by the method and consumed by the method.
Generates an object from its XML representation.
The stream from which the object is deserialized.
Converts an object into its XML representation.
The stream to which the object is serialized.
Gets or sets the bytes.
The bytes.
Gets or sets the subtype.
The subtype.
Encapsulates and provides access to the serverside javascript stored in db.system.js.
Initializes a new instance of the class.
The database.
Ensures the index exists.
Needed for some versions of the db to retrieve the functions.
Stores a function in the database.
The object to add to the .
The is read-only.
Removes every function in the database.
The is read-only.
Determines whether the contains a specific value.
The object to locate in the .
true if is found in the ; otherwise, false.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.
-or-
is equal to or greater than the length of .
-or-
The number of elements in the source is greater than the available space from to the end of the destination .
-or-
Type cannot be cast automatically to the type of the destination .
Removes the first occurrence of a specific object from the .
The object to remove from the .
true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
The is read-only.
Returns an enumerator that iterates through the collection.
A that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Gets the document representing the function in the database.
A
A
Returns a listing of the names of all the functions in the database
Adds the specified name.
The name.
The func.
Adds the specified name.
The name.
The func.
Store a function in the database with an extended attribute called version.
Version attributes are an extension to the spec. Function names must be unique
to the database so only one version can be stored at a time. This is most useful for libraries
that store function in the database to make sure that the function they are using is the most
up to date.
Checks to see if a function named name is stored in the database.
A
A
Updates the specified item.
The item.
Removes the specified name.
The name.
Gets or sets the with the specified name.
Gets the number of elements contained in the .
The number of elements contained in the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false.
Staticly typed way of using MongoDB query operators.
Initializes a new instance of the class.
Only allow instantiation through static methods.
Matches an object which is greater than the specified value.
The value.
Matches an object which is greater than or equal to the specified value.
The value.
Matches an object which is less than the specified value.
The value.
Matches an object which is less than or equal to the specified value.
The value.
Matches an object which does not equal the specified value.
The value.
Matches an array which has one of the specified values.
The values.
Matches an array which does not have any of the specified values.
The values.
Matches an array which has all of the specified values.
The values.
Modulus operator.
The denominator.
The result.
Matches any array with the specified number of elements
The size.
Check for existence of a field.
Check for lack of existence of a field.
Matches values based on their bson type.
Type of the bson.
Sends the Javascript expressiosn to the server.
The javascript.
Implements the operator &. This is used for conjunctions.
The op1.
The op2.
The result of the operator.
Implements the operator !. This is used for the meta operator $not.
The op.
The result of the operator.
The OP_DELETE message is used to remove one or more messages from a collection.
struct {
MsgHeader header; // standard message header
int32 ZERO; // 0 - reserved for future use
cstring fullCollectionName; // "dbname.collectionname"
int32 ZERO; // 0 - reserved for future use
BSON selector; // query object. See below for details.
}
Description of Message.
Base class for all raw messages
Gets or sets the header.
The header.
A Message that is to be written to the database.
Writes the specified stream.
The stream.
Initializes a new instance of the class.
The bson writer settings.
Writes the specified stream.
The stream.
Writes the body.
The writer.
Calculates the size of the body.
The writer.
Initializes a new instance of the class.
The bson writer settings.
Writes the body.
The writer.
Calculates the size of the body.
The writer.
Gets or sets the full name of the collection.
The full name of the collection.
Gets or sets the selector.
The selector.
The OP_GETMORE message is used to query the database for documents in a collection.
struct {
MsgHeader header; // standard message header
int32 ZERO; // 0 - reserved for future use
cstring fullCollectionName; // "dbname.collectionname"
int32 numberToReturn; // number of documents to return
int64 cursorID; // cursorID from the OP_REPLY
}
Initializes a new instance of the class.
Full name of the collection.
The cursor id.
Initializes a new instance of the class.
Full name of the collection.
The cursor id.
The number to return.
Writes the body.
The writer.
Calculates the size of the body.
The writer.
cursorID from the OP_REPLY.
The cursor id.
Gets or sets the full name of the collection.
The full name of the collection.
Gets or sets the number to return.
The number to return.
The OP_INSERT message is used to insert one or more documents into a collection.
struct {
MsgHeader header; // standard message header
int32 ZERO; // 0 - reserved for future use
cstring fullCollectionName; // "dbname.collectionname"
BSON[] documents; // one or more documents to insert into the collection
}
Initializes a new instance of the class.
Writes the specified stream.
The stream.
Breaks down an insert message that may be too large into managable sizes.
When inserting only one document there will be only one chunk. However chances
are that when inserting thousands of documents at once there will be many.
The base size that all chunks will have.
Writes out a header and the chunk of documents.
Writes the header.
The writer.
Size of the MSG.
Gets or sets the full name of the collection.
The full name of the collection.
Gets or sets the documents.
The documents.
The OP_KILL_CURSORS message is used to close an active
cursor in the database. This is necessary to ensure
that database resources are reclaimed at the end of the query.
struct {
MsgHeader header; // standard message header
int32 ZERO; // 0 - reserved for future use
int32 numberOfCursorIDs; // number of cursorIDs in message
int64[] cursorIDs; // array of cursorIDs to close
}
Initializes a new instance of the class.
Initializes a new instance of the class.
The cursor id.
Initializes a new instance of the class.
The cursor I ds.
Writes the body.
The writer.
Calculates the size of the body.
The writer.
Gets or sets the cursor ids.
The cursor ids.
In general, each Message consists of a standard message header followed by request-specific data.
struct {
int32 messageLength; // total size of the message, including the 4 bytes of length
int32 requestID; // client or database-generated identifier for this message
int32 responseTo; // requestID from the original request (used in reponses from db)
int32 opCode; // request type - see table below
}
Initializes a new instance of the class.
The op code.
Returns a that represents this instance.
A that represents this instance.
Total size of the message, including the 4 bytes of length.
The length of the message.
Client or database-generated identifier for this message.
The request id.
RequestID from the original request (used in reponses from db).
The response to.
Request type
The op code.
Deprecated. OP_MSG sends a diagnostic message to the database.
The database sends back a fixed resonse.
struct {
MsgHeader header; // standard message header
cstring message; // message for the database
}
Initializes a new instance of the class.
Writes the body.
The writer.
Calculates the size of the body.
The writer.
Gets or sets the message.
The message.
Reply to a client request. responseTo is set.
Generic msg command followed by a string.
update document
insert new document
is this used?
query a collection
Get more data from a query. See Cursors.
Delete documents
Tell database client is done with a cursor.
The OP_QUERY message is used to query the database for documents in a collection.
struct {
MsgHeader header; // standard message header
int32 opts; // query options. See below for details.
cstring fullCollectionName; // "dbname.collectionname"
int32 numberToSkip; // number of documents to skip when returning results
int32 numberToReturn; // number of documents to return in the first OP_REPLY
BSON query ; // query object. See below for details.
[ BSON returnFieldSelector; ] // OPTIONAL : selector indicating the fields to return. See below for details.
}
Initializes a new instance of the class.
The bson writer settings.
Initializes a new instance of the class.
The bson writer settings.
The query.
Full name of the collection.
Initializes a new instance of the class.
The bson writer settings.
The query.
Full name of the collection.
The number to return.
The number to skip.
Initializes a new instance of the class.
The bson writer settings.
The query.
Full name of the collection.
The number to return.
The number to skip.
The return field selector.
Writes the body.
The writer.
Calculates the size of the body.
The writer.
Gets or sets the options.
The options.
Gets or sets the full name of the collection.
The full name of the collection.
Gets or sets the number to skip.
The number to skip.
Gets or sets the number to return.
The number to return.
Gets or sets the query.
The query.
Gets or sets the return field selector.
The return field selector.
The OP_REPLY message is sent by the database in response to an CONTRIB:OP_QUERY or CONTRIB:OP_GET_MORE message.
struct {
MsgHeader header; // standard message header
int32 responseFlag; // normally zero, non-zero on query failure
int64 cursorID; // id of the cursor created for this query response
int32 startingFrom; // indicates where in the cursor this reply is starting
int32 numberReturned; // number of documents in the reply
BSON[] documents; // documents
}
Initializes a new instance of the class.
The reader settings.
Reads the specified stream.
The stream.
Reads the header.
The reader.
normally zero, non-zero on query failure
The response flag.
id of the cursor created for this query response
The cursor id.
indicates where in the cursor this reply is starting
The starting from.
number of documents in the reply
The number returned.
Gets or sets the documents.
The documents.
The OP_UPDATE message is used to update a document in a collection.
struct {
MsgHeader header; // standard message header
int32 ZERO; // 0 - reserved for future use
cstring fullCollectionName; // "dbname.collectionname"
int32 flags; // bit vector. see below
BSON selector; // the query to select the document
BSON document; // the document data to update with or insert
}
Initializes a new instance of the class.
The bson writer settings.
Writes the body.
The writer.
Calculates the size of the body.
The writer.
dbname.collectionname
The full name of the collection.
bit vector
The flags.
The query to select the document.
The selector.
The document data to update with or insert.
The document.
Query options
Oplog replay: 8 (internal replication use only - drivers should not implement)
None
Tailable cursor
Slave OK
No cursor timeout
Initializes a new instance of the class.
The value.
Gets or sets the value.
The value.
Initializes a new instance of the class.
The name.
Gets or sets the name.
The name.
Update flags.
Bits 2-31 are Reserved and must be set to 0.
Default none.
If set, the database will insert the supplied object into the collection if no matching document is found.
If set, the database will update all matching objects in the collection. Otherwise only updates first matching doc.
Translates an error returned from Mongo into the proper exception.
Translates the specified error.
The error.
Determines whether the specified document is error.
The document.
true if the specified document is error; otherwise, false.
Gets the error number.
The message.
Builds the exception.
The error number.
The message.
The error.
This was ripped out of SubSonic I believe.
Initializes the class.
Adds the irregular rule.
The singular.
The plural.
Adds the unknown count rule.
The word.
Adds the plural rule.
The rule.
The replacement.
Adds the singular rule.
The rule.
The replacement.
Makes the plural.
The word.
Makes the singular.
The word.
Applies the rules.
The rules.
The word.
Converts the string to title case.
The word.
Converts the string to human case.
The lowercase and underscored word.
Convert string to proper case
The source string.
Converts the string to pascal case.
The lowercase and underscored word.
Converts text to pascal case...
The text.
if set to true [remove underscores].
Converts the string to camel case.
The lowercase and underscored word.
Adds the underscores.
The pascal cased word.
Converts the underscores to dashes.
The underscored word.
Makes the initial caps.
The word.
Makes the initial lower case.
The word.
Summary for the InflectorRule class
Initializes a new instance of the class.
The regex pattern.
The replacement text.
Applies the specified word.
The word.
Lightweight routines to handle basic json serializing.
Serializes the specified doc.
The doc.
Serializes the type.
The value.
The json.
Escapes any characters that are special to javascript.
Gets the section with name Mongo.
Gets the section.
The name.
Creates the configuration.
Updates the configuration.
The configuration.
Gets the connections.
The connections.
Reads DataTime from server as local time.
true if [read local time]; otherwise, false.
MongoDB stores all time values in UTC timezone. If true the
time is converted from UTC to local timezone after is was read.
Gets or sets the name.
The name.
Gets or sets the connection string.
The connection string.
Gets a value indicating whether this instance is default.
true if this instance is default; otherwise, false.
When overridden in a derived class, creates a new .
A new .
Gets the element key for a specified configuration element when overridden in a derived class.
The to return the key for.
An that acts as the key for the specified .
Indexes the of.
The connection.
Adds the specified connection.
The connection.
Adds a configuration element to the .
The to add.
Removes the specified connection.
The connection.
Removes at.
The index.
Removes the specified name.
The name.
Clears this instance.
Gets the type of the .
The of this collection.
Gets or sets the at the specified index.
Gets the with the specified name.
Specs the specified spec.
The spec.
Limits the specified limit.
The limit.
Skips the specified skip.
The skip.
Fieldses the specified fields.
The fields.
Optionses the specified options.
The options.
Sorts the specified field.
The field.
Sorts the specified field.
The field.
The order.
Sorts the specified fields.
The fields.
Hints the specified index.
The index.
Keeps the cursor open.
if set to true [value].
By default cursors are closed automaticly after documents
are Enumerated.
Snapshots this instance.
Explains this instance.
Gets the id.
The id.
Gets a value indicating whether this instance is modifiable.
true if this instance is modifiable; otherwise, false.
Gets the documents.
The documents.
Initializes a new instance of the class.
The serialization factory.
The conn.
Name of the database.
Name of the collection.
Initializes a new instance of the class.
The serialization factory.
The conn.
Name of the database.
Name of the collection.
The spec.
The limit.
The skip.
The fields.
Releases unmanaged resources and performs other cleanup operations before the
is reclaimed by garbage collection.
Specs the specified spec.
The spec.
Limits the specified limit.
The limit.
Skips the specified skip.
The skip.
Fieldses the specified fields.
The fields.
Sorts the specified field.
The field.
Sorts the specified field.
The field.
The order.
Sorts the specified fields.
The fields.
Hints the specified index.
The index.
Keeps the cursor open.
if set to true [value].
By default cursors are closed automaticly after documents
are Enumerated.
Snapshots the specified index.
Explains this instance.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Releases unmanaged and - optionally - managed resources
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Optionses the specified options.
The options.
Kills the cursor.
Retrieves the data.
The type of the reply.
Tries the modify.
Adds the or remove spec opt.
The key.
The doc.
Builds the spec.
Gets or sets the full name of the collection.
The full name of the collection.
Gets or sets the id.
The id.
Gets a value indicating whether this is modifiable.
true if modifiable; otherwise, false.
Gets the documents.
The documents.
Gets the cursor position.
The cursor position.
Generate a hash for the specified text.
The text.
Gets the custom attribute.
The member.
if set to true [inherit].
Gets the return type of the member.
The member.
Determines whether [is open type assignable from] [the specified open type].
Type of the open.
Type of the closed.
true if [is open type assignable from] [the specified open type]; otherwise, false.
Type to hold an interned string that maps to the bson symbol type.
Initializes the struct.
Initializes a new instance of the struct.
The value.
Compares the current object with another object of the same type.
An object to compare with this object.
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings:
Value
Meaning
Less than zero
This object is less than the parameter.
Zero
This object is equal to .
Greater than zero
This object is greater than .
Compares the current object with another object of the same type.
An object to compare with this object.
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings:
Value
Meaning
Less than zero
This object is less than the parameter.
Zero
This object is equal to .
Greater than zero
This object is greater than .
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
Indicates whether the current object is equal to another object of the same type.
An object to compare with this object.
true if the current object is equal to the parameter; otherwise, false.
Returns a that represents this instance.
A that represents this instance.
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.
Implements the operator ==.
A.
The b.
The result of the operator.
Implements the operator !=.
A.
The b.
The result of the operator.
Performs an implicit conversion from to .
The s.
The result of the conversion.
Performs an implicit conversion from to .
The s.
The result of the conversion.
Determines whether the specified s is empty.
The s.
true if the specified s is empty; otherwise, false.
Symbols the equal.
A.
The b.
Returns a hash code for this instance.
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the to the class.
An that describes the XML representation of the object that is produced by the method and consumed by the method.
Generates an object from its XML representation.
The stream from which the object is deserialized.
Converts an object into its XML representation.
The stream to which the object is serialized.
Gets or sets the empty.
The empty.
Gets or sets the value.
The value.