ICoreSession Interface |
Namespace: MongoDB.Driver.Core.Bindings
The ICoreSession type exposes the following members.
Name | Description | |
---|---|---|
ClusterTime |
Gets the cluster time.
| |
CurrentTransaction |
Gets the current transaction.
| |
Id |
Gets the session Id.
| |
IsCausallyConsistent |
Gets a value indicate whether this instance is causally consistent.
| |
IsDirty |
Gets a value indicate whether this session is dirty.
| |
IsImplicit |
Gets a value indicating whether this instance is implicit session.
| |
IsInTransaction |
Gets a value indicating whether this instance is in a transaction.
| |
OperationTime |
Gets the operation time.
| |
Options |
Gets the session options.
| |
ServerSession |
Gets the server session.
|
Name | Description | |
---|---|---|
AbortTransaction |
Aborts the transaction.
| |
AbortTransactionAsync |
Aborts the transaction.
| |
AboutToSendCommand |
The driver is about to send a command on this session. Called to track session state.
| |
AdvanceClusterTime |
Advances the cluster time.
| |
AdvanceOperationTime |
Advances the operation time.
| |
AdvanceTransactionNumber |
Advances the transaction id.
| |
CommitTransaction |
Commits the transaction.
| |
CommitTransactionAsync |
Commits the transaction.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
MarkDirty |
Marks the session as dirty.
| |
StartTransaction |
Starts a transaction.
| |
WasUsed |
Called by the driver when the session is used (i.e. sent to the server).
|