Method AdvanceTransactionNumber

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

AdvanceTransactionNumber()

Gets the next transaction number.

[Obsolete("Let the driver handle when to advance the transaction number.")]
long AdvanceTransactionNumber()

Returns

long

The transaction number.