Interface ISagaDb
Represents a database abstraction for saga state persistence that extends the generic database interface IDb.
public interface ISagaDb : IDb
- Inherited Members
Remarks
Use this marker interface to register a dedicated database connection for saga stores
(e.g., SqlServerSagaStore, PostgresSagaStore) when saga state should be
persisted to a different database than the domain event store.
If your application uses a single database for all stores, register IDomainDb and use it for saga persistence as well. Use ISagaDb only when you need separate database connections.