Interface IStorageInitializer
- Namespace
- Fdyay.IdentityServer.Dapper
- Assembly
- Fdyay.IdentityServer.Dapper.dll
Ensures the database schema exists.
public interface IStorageInitializer
Methods
InitializeAsync(CancellationToken)
Creates whatever tables and indexes the selected stores need and do not yet have.
Task InitializeAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenCancels opening the connection.
Returns
- Task
A task that completes once the schema script has run.