C# (CSharp) MongoDB.Driver Namespace

Nested Namespaces

MongoDB.Driver.Bson
MongoDB.Driver.Builders
MongoDB.Driver.Core
MongoDB.Driver.GridFS
MongoDB.Driver.IO
MongoDB.Driver.Internal
MongoDB.Driver.Linq
MongoDB.Driver.Util
MongoDB.Driver.Wrappers

Classes

Name Description
AggregateResult
Binary
Bson
BsonReader
BsonWriter
Code
CodeWScope
Collection
CollectionMetaData Lazily loaded meta data on the collection.
CollectionOptionsDocument Represents a BSON document that can be used where an IMongoCollectionOptions is expected.
CollectionStatsResult
CollectionStatsResult.IndexSizesResult Represents a collection of index sizes.
CommandDocument Represents a BSON document that can be used where an IMongoCommand is expected.
CommandResult
Connection Description of Connection.
Connection.Port
DBRef A Wrapper for a reference to another object
Database
DatabaseMetaData Administration of metadata for a database.
DatabaseStatsResult
Document Description of Document.
FieldsDocument Represents a BSON document that can be used where an IMongoFields is expected.
GeoHaystackSearchOptionsDocument Represents a BSON document that can be used where an IMongoGeoHaystackSearchOptions is expected.
GeoHaystackSearchResult
GeoHaystackSearchResult.GeoHaystackSearchHit Represents a GeoHaystackSearch hit.
GeoHaystackSearchResult.GeoHaystackSearchHits Represents a collection of GeoHaystackSearch hits.
GeoHaystackSearchResult.GeoHaystackSearchStats Represents the stats of a GeoHaystackSearch command.
GeoNearOptionsDocument Represents a BSON document that can be used where an IMongoGeoNearOptions is expected.
GeoNearResult
GeoNearResult.GeoNearHit Represents a GeoNear hit.
GeoNearResult.GeoNearHits Represents a collection of GeoNear hits.
GeoNearResult.GeoNearStats Represents the stats of a GeoNear command.
GetLastErrorResult
GetProfilingLevelResult
GroupByDocument Represents a BSON document that can be used where an IMongoGroupBy is expected.
IndexKeysDocument Represents a BSON document that can be used where an IMongoIndexKeys is expected.
IndexOptionsDocument Represents a BSON document that can be used where an IMongoIndexOptions is expected.
Inserter
IsMasterResult
JsonUtils Lightweight routines to handle basic json serializing.
MapReduce A fluent interface for executing a Map/Reduce call against a collection.
MapReduce.MapReduceResult
MapReduceBuilder Provides a Fluent interface to build and execute Map/Reduce calls.
MapReduceOptionsDocument Represents a BSON document that can be used where an IMongoMapReduceOptions is expected.
MessageHeader
MessageWriter
Mongo The root API object for the MongoDB driver
MongoAuthenticationException
MongoClient Represents a client to MongoDB.
MongoClientSettings The settings for a MongoDB client.
MongoCollectionSettings The settings used to access a collection.
MongoCommException
MongoCommandException Raised when a command returns a failure message.
MongoConnectionException
MongoConnectionStringBuilder Represents .NET style connection strings. We recommend you use URL style connection strings (see MongoUrl and MongoUrlBuilder).
MongoCredentialsStore Represents a credentials store that contains credentials for different databases.
MongoDatabaseSettings The settings used to access a database.
MongoDefaults Default values for various Mongo settings.
MongoDuplicateKeyException Raised when an action causes a unique constraint violation in an index.
MongoDuplicateKeyUpdateException Raised when an update action causes a unique constraint violation in an index.
MongoException
MongoFactory
MongoInsertOptions Represents the options to use for an Insert or InsertBatch operation.
MongoInternalException
MongoMapReduceException Raised when a map reduce call fails.
MongoMaxKey Class representing the MaxKey Bson type. It will always compare higher than any other type.
MongoMinKey Class representing the MinKey Bson type. It will always compare lower than any other type.
MongoOperationException
MongoQueryException
MongoRegex
MongoSafeModeException
MongoSecurityException
MongoServerBuildInfo Represents build info about a server instance.
MongoServerInstance Represents an instance of a MongoDB server host.
MongoServerInstance.ServerInformation
MongoServerSettings The settings used to access a MongoDB server.
MongoTestBase
MongoTypeException
MongoUpdateOptions Represents the options to use for an Update operation.
MongoUrlBuilder
MongoUtils Various static utility methods.
OidGenerator
PairedConnection Connection object that connects to a replica pair.
QueryDocument Represents a BSON document that can be used where an IMongoQuery is expected.
Reader
ScopeDocument Represents a BSON document that can be used where an IMongoScope is expected.
SortByDocument Represents a BSON document that can be used where an IMongoSortBy is expected.
TestB
TestBinary
TestCollectionMetaData
TestCollectionSafeMode
TestConcurrency
TestConnection
TestCursor
TestDatabase
TestDatabaseJS
TestDatabaseMetaData
TestDocument
TestMapReduce
TestMapReduceBuilder
TestMongoCommException
TestOid
TestOidGenerator
UpdateDocument Represents a BSON document that can be used where an IMongoUpdate is expected.
ValidateCollectionResult
ValidateCollectionResult.ExtentDetails Represents the details of the first extent of the collection.
WriteConcernException