다음을 통해 공유


RelationalDatabaseFacadeExtensions.GetPendingMigrations 메서드

정의

어셈블리에 정의되어 있지만 대상 데이터베이스에 적용되지 않은 모든 마이그레이션을 가져옵니다.

public static System.Collections.Generic.IEnumerable<string> GetPendingMigrations (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> GetPendingMigrations (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
static member GetPendingMigrations : 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 GetPendingMigrations : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> seq<string>
<Extension()>
Public Function GetPendingMigrations (databaseFacade As DatabaseFacade) As IEnumerable(Of String)

매개 변수

databaseFacade
DatabaseFacade

DatabaseFacade 컨텍스트에 대한 입니다.

반환

마이그레이션 목록입니다.

특성

설명

자세한 내용 및 예제는 데이터베이스 마이그레이션 을 참조하세요.

적용 대상