SqlServerMigrationsSqlGenerator.Generate 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Generate(RenameSequenceOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 RenameSequenceOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- RenameSequenceOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(RenameTableOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 RenameTableOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameTableOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- RenameTableOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(RestartSequenceOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 RestartSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As SqlOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- SqlOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(SqlServerCreateDatabaseOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 SqlServerCreateDatabaseOperation 에 대한 명령을 빌드합니다.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlServerCreateDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlServerCreateDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlServerCreateDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As SqlServerCreateDatabaseOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- SqlServerCreateDatabaseOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(SqlServerDropDatabaseOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 SqlServerDropDatabaseOperation 에 대한 명령을 빌드합니다.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlServerDropDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlServerDropDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlServerDropDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Generate (operation As SqlServerDropDatabaseOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- SqlServerDropDatabaseOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(UpdateDataOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 UpdateDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As UpdateDataOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- UpdateDataOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(IReadOnlyList<MigrationOperation>, IModel, MigrationsSqlGenerationOptions)
작업 목록에서 명령을 생성합니다.
public override 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 override 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);
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 Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
매개 변수
- operation
- AddColumnOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
- terminate
- Boolean
작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.
적용 대상
Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 AddPrimaryKeyOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides Sub Generate (operation As DropColumnOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides 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);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate);
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, terminate As Boolean)
Protected Overrides Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder, terminate As Boolean)
매개 변수
- operation
- DropIndexOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
- terminate
- Boolean
작업에 대한 SQL을 생성한 후 명령을 종료할지 여부를 나타냅니다.
적용 대상
Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 DropPrimaryKeyOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides 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(AddForeignKeyOperation, IModel, MigrationCommandListBuilder, Boolean)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 AddForeignKeyOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool terminate = true);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overrides 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(RenameIndexOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 RenameIndexOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- RenameIndexOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(DropIndexOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 DropIndexOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- DropIndexOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(MigrationOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 MigrationOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As MigrationOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- MigrationOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
설명
이 메서드는 이중 디스패치 메커니즘을 사용하여 의 MigrationOperation특정 하위 형식과 관련된 메서드를 호출 MigrationsSqlGenerator.Generate 합니다. 일반적으로 데이터베이스 공급자는 이 메서드가 아닌 이러한 특정 메서드를 재정의합니다. 그러나 공급자는 이 메서드를 재정의하여 공급자별 작업을 처리할 수 있습니다.
적용 대상
Generate(IReadOnlyList<MigrationOperation>, IModel)
작업 목록에서 명령을 생성합니다.
public override System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> Generate (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Metadata.IModel model);
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 Overrides Function Generate (operations As IReadOnlyList(Of MigrationOperation), model As IModel) As IReadOnlyList(Of MigrationCommand)
매개 변수
- operations
- IReadOnlyList<MigrationOperation>
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
반환
실행하거나 스크립팅할 명령 목록입니다.
적용 대상
Generate(AddCheckConstraintOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 AddCheckConstraintOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AddCheckConstraintOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- AddCheckConstraintOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(AddColumnOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에 대해 호출하여 지정된 AddColumnOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AddForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- AddForeignKeyOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(RenameColumnOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 RenameColumnOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As RenameColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- RenameColumnOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(AlterColumnOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AlterColumnOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AlterColumnOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- AlterColumnOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(AlterDatabaseOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AlterDatabaseOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AlterDatabaseOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- AlterDatabaseOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(AlterTableOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 AlterTableOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AlterTableOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- AlterTableOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(CreateIndexOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateIndexOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- CreateIndexOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(AddPrimaryKeyOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 AddPrimaryKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As AddPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- AddPrimaryKeyOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(CreateTableOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateTableOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DeleteDataOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- DeleteDataOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(DropColumnOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 DropColumnOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides 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 override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropForeignKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- DropForeignKeyOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(DropPrimaryKeyOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 DropPrimaryKeyOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropPrimaryKeyOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- DropPrimaryKeyOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(DropTableOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 DropTableOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As DropTableOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- DropTableOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(EnsureSchemaOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder에서 를 호출하여 지정된 EnsureSchemaOperation 에 대한 명령을 빌드합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As EnsureSchemaOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- EnsureSchemaOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(InsertDataOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 InsertDataOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As InsertDataOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- InsertDataOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Generate(CreateSequenceOperation, IModel, MigrationCommandListBuilder)
지정된 MigrationCommandListBuilder를 호출하여 지정된 CreateSequenceOperation 에 대한 명령을 빌드한 다음, 최종 명령을 종료합니다.
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub Generate (operation As CreateSequenceOperation, model As IModel, builder As MigrationCommandListBuilder)
매개 변수
- operation
- CreateSequenceOperation
작업입니다.
- model
- IModel
모델이 없는 작업이 있는 경우일 null
수 있는 대상 모델입니다.
- builder
- MigrationCommandListBuilder
명령을 빌드하는 데 사용할 명령 작성기입니다.
적용 대상
Entity Framework