OperationExecutor.ScriptMigration 생성자

정의

오버로드

OperationExecutor.ScriptMigration(OperationExecutor, IOperationResultHandler, IDictionary)

OperationExecutor.ScriptMigration 클래스의 새 인스턴스를 초기화합니다.

OperationExecutor.ScriptMigration(OperationExecutor, Object, IDictionary)

OperationExecutor.ScriptMigration 클래스의 새 인스턴스를 초기화합니다.

에서 지원하는 args 인수는 다음과 같습니다.

fromMigration--시작 마이그레이션입니다. 기본값은 InitialDatabase입니다.

toMigration--종료 마이그레이션입니다. 기본값은 마지막 마이그레이션입니다.

idempotent--마이그레이션 시 데이터베이스에서 사용할 수 있는 스크립트를 생성합니다.

contextType--사용할 입니다 DbContext .

OperationExecutor.ScriptMigration(OperationExecutor, IOperationResultHandler, IDictionary)

OperationExecutor.ScriptMigration 클래스의 새 인스턴스를 초기화합니다.

public ScriptMigration (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration
Public Sub New (executor As OperationExecutor, resultHandler As IOperationResultHandler, args As IDictionary)

매개 변수

executor
OperationExecutor

작업 실행기입니다.

args
IDictionary

작업 인수입니다.

설명

에서 지원하는 args 인수는 다음과 같습니다.

fromMigration--시작 마이그레이션입니다. 기본값은 InitialDatabase입니다.

toMigration--종료 마이그레이션입니다. 기본값은 마지막 마이그레이션입니다.

idempotent--마이그레이션 시 데이터베이스에서 사용할 수 있는 스크립트를 생성합니다.

noTransactions--SQL 트랜잭션 문을 생성하지 마세요.

contextType--사용할 입니다 DbContext .

적용 대상

OperationExecutor.ScriptMigration(OperationExecutor, Object, IDictionary)

OperationExecutor.ScriptMigration 클래스의 새 인스턴스를 초기화합니다.

에서 지원하는 args 인수는 다음과 같습니다.

fromMigration--시작 마이그레이션입니다. 기본값은 InitialDatabase입니다.

toMigration--종료 마이그레이션입니다. 기본값은 마지막 마이그레이션입니다.

idempotent--마이그레이션 시 데이터베이스에서 사용할 수 있는 스크립트를 생성합니다.

contextType--사용할 입니다 DbContext .

public ScriptMigration (Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, object resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * obj * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration
Public Sub New (executor As OperationExecutor, resultHandler As Object, args As IDictionary)

매개 변수

executor
OperationExecutor

작업 실행기입니다.

args
IDictionary

작업 인수입니다.

적용 대상