Aracılığıyla paylaş


RelationalDatabaseFacadeExtensions.GetMigrations(DatabaseFacade) Yöntem

Tanım

Yapılandırılan geçişler derlemesinde tanımlanan tüm geçişleri alır.

public static System.Collections.Generic.IEnumerable<string> GetMigrations (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Migrations operations are not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.")]
public static System.Collections.Generic.IEnumerable<string> GetMigrations (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
static member GetMigrations : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> seq<string>
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Migrations operations are not supported with NativeAOT Use a migration bundle or an alternate way of executing migration operations.")>]
static member GetMigrations : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> seq<string>
<Extension()>
Public Function GetMigrations (databaseFacade As DatabaseFacade) As IEnumerable(Of String)

Parametreler

databaseFacade
DatabaseFacade

DatabaseFacade bağlam için.

Döndürülenler

Geçişlerin listesi.

Öznitelikler

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Veritabanı geçişleri .

Şunlara uygulanır