-
Notifications
You must be signed in to change notification settings - Fork 0
MongoDbDataContext
Mendz edited this page Oct 12, 2018
·
2 revisions
Provides the database context for MongoDB.
| Name | Description |
|---|---|
| MongoDbDataContext() | Initializes a MongoDbDataContext. |
| Name | Description |
|---|---|
| IClientSessionHandle Session | Gets the client session handle. |
| Name | Description |
|---|---|
| IMongoDatabase Context | Gets the context instance. |
| Name | Description |
|---|---|
| BeginTransaction() | Begins a transaction. |
| EndTransaction() | Ends a transaction. |
| BeginTransactionAsync() | Begins a transaction asynchronously. |
| EndTransactionAsyn() | Ends a transaction asynchronously. |
| Name | Description |
|---|---|
| CreateContext() | Creates a context instance. |
| Dispose() | Disposes the MongoDbDataContext instance. |