Table of Contents

Interface ICoreServerSession

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

The interface for a core server session.

public interface ICoreServerSession : IDisposable
Inherited Members

Properties

Id

Gets the session Id.

IsDirty

Gets a value indicate whether this session is dirty.

LastUsedAt

Gets the time this server session was last used (in UTC).

Methods

AdvanceTransactionNumber()

Gets the next transaction number.

MarkDirty()

Marks the session as dirty.

WasUsed()

Called by the driver when the session is used (i.e. sent to the server).