다음을 통해 공유


RelationalLoggerExtensions.MigrateUsingConnection 메서드

정의

이벤트에 대한 로그입니다 MigrateUsingConnection .

public static void MigrateUsingConnection (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> diagnostics, Microsoft.EntityFrameworkCore.Migrations.IMigrator migrator, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
static member MigrateUsingConnection : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Migrations> * Microsoft.EntityFrameworkCore.Migrations.IMigrator * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> unit
<Extension()>
Public Sub MigrateUsingConnection (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Migrations), migrator As IMigrator, connection As IRelationalConnection)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Migrations>

사용할 진단 로거입니다.

migrator
IMigrator

마이그레이션자입니다.

connection
IRelationalConnection

연결입니다.

적용 대상