HistoryRepository.GetAppliedMigrationsAsync(CancellationToken) Yöntem

Tanım

Uygulanan tüm geçişler için geçmiş tablosu sorgular.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.HistoryRow>> GetAppliedMigrationsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppliedMigrationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.HistoryRow>>
override this.GetAppliedMigrationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.HistoryRow>>
Public Overridable Function GetAppliedMigrationsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of HistoryRow))

Parametreler

cancellationToken
CancellationToken

Görevin CancellationToken tamamlandıktan sonra gözlemlemek için bir.

Döndürülenler

Task<IReadOnlyList<HistoryRow>>

Zaman uyumsuz işlemi temsil eden bir görev. Görev sonucu, varlık olarak uygulanan geçişlerin listesini HistoryRow içerir.

Uygulamalar

Özel durumlar

Şunlara uygulanır