Table of Contents

Interface IDatabaseMigrator

Namespace
SEBT.Portal.Infrastructure.Services
Assembly
SEBT.Portal.Infrastructure.dll

Service for applying database migrations.

public interface IDatabaseMigrator

Methods

MigrateAsync(CancellationToken)

Applies any pending migrations to the database.

Task MigrateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the operation.

Returns

Task

A task representing the asynchronous operation.