NoCoreSession Class |
Namespace: MongoDB.Driver.Core.Bindings
The NoCoreSession type exposes the following members.
Name | Description | |
---|---|---|
NoCoreSession | Initializes a new instance of the NoCoreSession class |
Name | Description | |
---|---|---|
ClusterTime |
Gets the cluster time.
| |
Id |
Gets the session Id.
| |
Instance |
Gets the pre-created instance.
| |
IsCausallyConsistent |
Gets a value indicate whether this instance is causally consistent.
| |
IsImplicit |
Gets a value indicating whether this instance is implicit session.
| |
OperationTime |
Gets the operation time.
|
Name | Description | |
---|---|---|
AdvanceClusterTime |
Advances the cluster time.
| |
AdvanceOperationTime |
Advances the operation time.
| |
AdvanceTransactionNumber |
Advances the transaction id.
| |
Dispose | Releases all resources used by the NoCoreSession | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
NewHandle |
Returns a new handle to a NoCoreSession object.
| |
ToString | (Inherited from Object.) | |
WasUsed |
Called by the driver when the session is used (i.e. sent to the server).
|
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |