다음을 통해 공유


MigrationsSqlGenerator.Generate 메서드

정의

오버로드

Generate(InsertDataOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 InsertDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(MigrationOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 MigrationOperation 에 대한 명령을 빌드합니다.

Generate(RenameColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameColumnOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(RenameIndexOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameIndexOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(RenameSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameSequenceOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(RenameTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameTableOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(RestartSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 RestartSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(SqlOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 SqlOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(UpdateDataOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 UpdateDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(IReadOnlyList<MigrationOperation>, IModel, MigrationsSqlGenerationOptions)

작업 목록에서 명령을 생성합니다.

Generate(AddColumnOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AddColumnOperation 에 대한 명령을 빌드합니다.

Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AddForeignKeyOperation 에 대한 명령을 빌드합니다.

Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AddPrimaryKeyOperation 에 대한 명령을 빌드합니다.

Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 CreateIndexOperation 에 대한 명령을 빌드합니다.

Generate(CreateTableOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 CreateTableOperation 에 대한 명령을 빌드합니다.

Generate(DropColumnOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropColumnOperation 에 대한 명령을 빌드합니다.

Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropForeignKeyOperation 에 대한 명령을 빌드합니다.

Generate(DropIndexOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 DropIndexOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropPrimaryKeyOperation 에 대한 명령을 빌드합니다.

Generate(DropTableOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropTableOperation 에 대한 명령을 빌드합니다.

Generate(InsertDataOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 InsertDataOperation 에 대한 명령을 빌드합니다.

Generate(EnsureSchemaOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 EnsureSchemaOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(DropUniqueConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropUniqueConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DropSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(IReadOnlyList<MigrationOperation>, IModel)

작업 목록에서 명령을 생성합니다.

Generate(AddColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddColumnOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddForeignKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddPrimaryKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddUniqueConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(AlterColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 AlterColumnOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(AlterDatabaseOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 AlterDatabaseOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AlterSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(AlterTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 AlterTableOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

Generate(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateCheckConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateIndexOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(CreateTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateTableOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DeleteDataOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DeleteDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DropCheckConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropCheckConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DropColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropColumnOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropForeignKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DropIndexOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 DropIndexOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

이 메서드의 기본 구현은 을 throw합니다 NotImplementedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropPrimaryKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DropSchemaOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropSchemaOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddCheckConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(DropTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropTableOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

Generate(InsertDataOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 InsertDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
InsertDataOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(MigrationOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 MigrationOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As MigrationOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
MigrationOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드는 이중 디스패치 메커니즘을 사용하여 의 특정 하위 형식 MigrationOperation과 관련된 'Generate' 메서드 중 하나를 호출합니다. 일반적으로 데이터베이스 공급자는 이 메서드가 아닌 이러한 특정 메서드를 재정의합니다. 그러나 공급자는 이 메서드를 재정의하여 공급자별 작업을 처리할 수 있습니다.

적용 대상

Generate(RenameColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameColumnOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameColumnOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
RenameColumnOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 을 throw합니다 NotSupportedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(RenameIndexOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameIndexOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameIndexOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
RenameIndexOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 을 throw합니다 NotSupportedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(RenameSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameSequenceOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
RenameSequenceOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 을 throw합니다 NotSupportedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(RenameTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 RenameTableOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RenameTableOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
RenameTableOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 을 throw합니다 NotSupportedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(RestartSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 RestartSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As RestartSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
RestartSequenceOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(SqlOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 SqlOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As SqlOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
SqlOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(UpdateDataOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 UpdateDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As UpdateDataOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
UpdateDataOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(IReadOnlyList<MigrationOperation>, IModel, MigrationsSqlGenerationOptions)

작업 목록에서 명령을 생성합니다.

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> Generate (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Metadata.IModel model = default, Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions options = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default);
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> Generate (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Metadata.IModel? model = default, Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions options = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default);
abstract member Generate : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
override this.Generate : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
Public Overridable Function Generate (operations As IReadOnlyList(Of MigrationOperation), Optional model As IModel = Nothing, Optional options As MigrationsSqlGenerationOptions = Microsoft.EntityFrameworkCore.Migrations.MigrationsSqlGenerationOptions.Default) As IReadOnlyList(Of MigrationCommand)

매개 변수

operations
IReadOnlyList<MigrationOperation>

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

options
MigrationsSqlGenerationOptions

명령을 생성할 때 사용할 옵션입니다.

반환

실행하거나 스크립팅할 명령 목록입니다.

구현

적용 대상

Generate(AddColumnOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AddColumnOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
AddColumnOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AddForeignKeyOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
AddForeignKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AddPrimaryKeyOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
AddPrimaryKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 CreateIndexOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
CreateIndexOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(CreateTableOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 CreateTableOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
CreateTableOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(DropColumnOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropColumnOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
DropColumnOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropForeignKeyOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
DropForeignKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(DropIndexOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 DropIndexOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
DropIndexOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

설명

이 메서드의 기본 구현은 을 throw합니다 NotSupportedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropPrimaryKeyOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
DropPrimaryKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(DropTableOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 DropTableOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
DropTableOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(InsertDataOperation, IModel, MigrationCommandListBuilder, Boolean)

지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 InsertDataOperation 에 대한 명령을 빌드합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overridable Sub Generate (operation As InsertDataOperation, model As IModel, builder As MigrationCommandListBuilder, Optional terminate As Boolean = true)

매개 변수

operation
InsertDataOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

terminate
Boolean

작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.

적용 대상

Generate(EnsureSchemaOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 EnsureSchemaOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As EnsureSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
EnsureSchemaOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 을 throw합니다 NotSupportedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(DropUniqueConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropUniqueConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropUniqueConstraintOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropSequenceOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(IReadOnlyList<MigrationOperation>, IModel)

작업 목록에서 명령을 생성합니다.

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> Generate (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Metadata.IModel model = default);
abstract member Generate : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Metadata.IModel -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
override this.Generate : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Metadata.IModel -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand>
Public Overridable Function Generate (operations As IReadOnlyList(Of MigrationOperation), Optional model As IModel = Nothing) As IReadOnlyList(Of MigrationCommand)

매개 변수

operations
IReadOnlyList<MigrationOperation>

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

반환

실행하거나 스크립팅할 명령 목록입니다.

구현

적용 대상

Generate(AddColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddColumnOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AddColumnOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(AddForeignKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddForeignKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AddForeignKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddPrimaryKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AddPrimaryKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(AddUniqueConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddUniqueConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddUniqueConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AddUniqueConstraintOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(AlterColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 AlterColumnOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterColumnOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AlterColumnOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 을 throw합니다 NotSupportedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(AlterDatabaseOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 AlterDatabaseOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterDatabaseOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AlterDatabaseOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 없습니다. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

적용 대상

Generate(AlterSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AlterSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AlterSequenceOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(AlterTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 AlterTableOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AlterTableOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AlterTableOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

설명

이 메서드의 기본 구현은 이 작업과 관련된 일반적인 메타데이터가 없으므로 아무 작업도 수행하지 않습니다. 공급자는 처리해야 하는 공급자별 주석이 있는 경우에만 이 메서드를 재정의해야 합니다.

적용 대상

Generate(CreateCheckConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateCheckConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
CreateCheckConstraintOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateIndexOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
CreateIndexOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(CreateSequenceOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
CreateSequenceOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(CreateTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateTableOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
CreateTableOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DeleteDataOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DeleteDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DeleteDataOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DeleteDataOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropCheckConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropCheckConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropCheckConstraintOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropColumnOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropColumnOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropColumnOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropForeignKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropForeignKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropForeignKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropIndexOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder에 대한 호출을 통해 지정된 DropIndexOperation 에 대한 명령을 빌드하기 위해 데이터베이스 공급자가 재정의할 수 있습니다.

이 메서드의 기본 구현은 을 throw합니다 NotImplementedException. 공급자는 이러한 종류의 작업을 지원하려면 재정의해야 합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropIndexOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropPrimaryKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropPrimaryKeyOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropSchemaOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropSchemaOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropSchemaOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 AddCheckConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As AddCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
AddCheckConstraintOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상

Generate(DropTableOperation, IModel, MigrationCommandListBuilder)

지정된 MigrationCommandListBuilder를 호출하여 지정된 DropTableOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.

protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder)

매개 변수

operation
DropTableOperation

작업입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

명령을 빌드하는 데 사용할 명령 작성기입니다.

적용 대상