Click or drag to resize

WrappingCoreSessionCurrentTransaction Property

Gets the current transaction.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public virtual CoreTransaction CurrentTransaction { get; }

Property Value

Type: CoreTransaction
The current transaction.

Implements

ICoreSessionCurrentTransaction
See Also