다음을 통해 공유


MigrationCodeGenerator 클래스

정의

코드 기반 마이그레이션에 대한 코드를 생성하는 공급자의 기본 클래스입니다.

public abstract class MigrationCodeGenerator
type MigrationCodeGenerator = class
Public MustInherit Class MigrationCodeGenerator
상속
MigrationCodeGenerator
파생

생성자

MigrationCodeGenerator()

코드 기반 마이그레이션에 대한 코드를 생성하는 공급자의 기본 클래스입니다.

속성

AnnotationGenerators

AnnotationCodeGenerator 사용 중인 인스턴스를 가져옵니다.

메서드

Generate(String, IEnumerable<MigrationOperation>, String, String, String, String)

사용자 프로젝트에 추가해야 하는 코드를 생성합니다.

GetDefaultNamespaces(Boolean)

생성된 코드에 대해 "using" 또는 "Imports" 지시문으로 출력되어야 하는 기본 네임스페이스를 가져옵니다.

GetNamespaces(IEnumerable<MigrationOperation>)

지정된 작업에서 생성된 코드를 처리하기 위해 "using" 또는 "Imports" 지시문으로 출력되어야 하는 네임스페이스를 가져옵니다.

적용 대상