OperationExecutor.AddMigration 클래스

정의

새 마이그레이션을 추가하는 작업을 나타냅니다.

public class OperationExecutor.AddMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase
type OperationExecutor.AddMigration = class
    inherit OperationExecutor.OperationBase
Public Class OperationExecutor.AddMigration
Inherits OperationExecutor.OperationBase
상속
OperationExecutor.AddMigration
상속
OperationExecutor.AddMigration

생성자

OperationExecutor.AddMigration(OperationExecutor, IOperationResultHandler, IDictionary)

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

OperationExecutor.AddMigration(OperationExecutor, Object, IDictionary)

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

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

name--마이그레이션의 이름입니다.

outputDir--사용할 디렉터리(및 하위 네임스페이스)입니다. 경로는 프로젝트 디렉터리를 기준으로 합니다. 기본값은 "마이그레이션"입니다.

contextTypeDbContext--사용할 형식입니다.

메서드

Execute(Action)

예외를 에 전달하는 작업을 실행합니다 IOperationResultHandler.

(다음에서 상속됨 OperationExecutor.OperationBase)
Execute<T>(Func<IEnumerable<T>>)

결과 또는 예외를 에 전달하는 작업을 실행합니다 IOperationResultHandler.

(다음에서 상속됨 OperationExecutor.OperationBase)
Execute<T>(Func<T>)

결과 또는 예외를 에 전달하는 작업을 실행합니다 IOperationResultHandler.

(다음에서 상속됨 OperationExecutor.OperationBase)

적용 대상