Interface IPersistenceStore
Interface for a generic persistence store.
Namespace: Serenity.Persistence.Domain.Interfaces
Assembly: Serenity.Global.Domain.dll
Syntax
public interface IPersistenceStore
Properties
Namespace
The namespace or category of the persistence store.
Declaration
string Namespace { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
HealthCheckAsync(CancellationToken)
Performs a health check on the persistence store.
Declaration
Task<bool> HealthCheckAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | A token to monitor for cancellation requests. |
Returns
| Type | Description |
|---|---|
| Task<bool> | A task that represents the asynchronous health check operation, containing true if the store is healthy, false otherwise. |