| IMongoDatabase Methods |
The IMongoDatabase type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateCollection |
Creates the collection with the specified name.
| |
| CreateCollectionAsync |
Creates the collection with the specified name.
| |
| CreateViewTDocument, TResult |
Creates a view.
| |
| CreateViewAsyncTDocument, TResult |
Creates a view.
| |
| 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.
| |
| WithReadConcern |
Returns a new IMongoDatabase instance with a different read concern setting.
| |
| WithReadPreference |
Returns a new IMongoDatabase instance with a different read preference setting.
| |
| WithWriteConcern |
Returns a new IMongoDatabase instance with a different write concern setting.
|