Class SagaDb
Represents a specialized database context for saga state persistence operations.
public sealed class SagaDb : Db, IAsyncDisposable, IDisposable, ISagaDb, IDb
- Inheritance
-
SagaDb
- Implements
- Inherited Members
Remarks
Initializes a new instance of the SagaDb class. This class extends the Db class to provide a typed database abstraction for saga stores.
Constructors
SagaDb(IDbConnection)
Represents a specialized database context for saga state persistence operations.
public SagaDb(IDbConnection connection)
Parameters
connectionIDbConnectionThe database connection to be used for operations.
Remarks
Initializes a new instance of the SagaDb class. This class extends the Db class to provide a typed database abstraction for saga stores.
Exceptions
- ArgumentNullException
Thrown if
connectionisnull.