IMongoDatabase Interface |
Namespace: MongoDB.Driver
The IMongoDatabase type exposes the following members.
Name | Description | |
---|---|---|
Client |
Gets the client.
| |
DatabaseNamespace |
Gets the namespace of the database.
| |
Settings |
Gets the settings.
|
Name | Description | |
---|---|---|
CreateCollection |
Creates the collection with the specified name.
| |
CreateCollectionAsync |
Creates the collection with the specified name.
| |
DropCollection |
Drops the collection with the specified name.
| |
DropCollectionAsync |
Drops the collection with the specified name.
| |
GetCollectionTDocument |
Gets a collection.
| |
ListCollections |
Lists all the collections on the server.
| |
ListCollectionsAsync |
Lists all the collections on the server.
| |
RenameCollection |
Renames the collection.
| |
RenameCollectionAsync |
Renames the collection.
| |
RunCommandTResult |
Runs a command.
| |
RunCommandAsyncTResult |
Runs a command.
|