Language

CSharpMigrationOperationGenerator クラス

定義

MigrationOperation オブジェクトを作成するために C# を生成するために使用されます。

public class CSharpMigrationOperationGenerator
[System.Runtime.CompilerServices.Nullable(0)]
public class CSharpMigrationOperationGenerator : Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator
public class CSharpMigrationOperationGenerator : Microsoft.EntityFrameworkCore.Migrations.Design.ICSharpMigrationOperationGenerator
type CSharpMigrationOperationGenerator = class
[<System.Runtime.CompilerServices.Nullable(0)>]
type CSharpMigrationOperationGenerator = class
    interface ICSharpMigrationOperationGenerator
type CSharpMigrationOperationGenerator = class
    interface ICSharpMigrationOperationGenerator
Public Class CSharpMigrationOperationGenerator
Public Class CSharpMigrationOperationGenerator
Implements ICSharpMigrationOperationGenerator
継承
CSharpMigrationOperationGenerator
属性
実装

注釈

詳細と例については、「 データベースの移行」および 「EF Core のデザイン時サービス 」を参照してください。

コンストラクター

Name 説明
CSharpMigrationOperationGenerator(CSharpHelper)

MigrationOperation オブジェクトを作成するために C# を生成するために使用されます。

CSharpMigrationOperationGenerator(CSharpMigrationOperationGeneratorDependencies)

CSharpMigrationOperationGenerator クラスの新しいインスタンスを初期化します。

プロパティ

Name 説明
Dependencies

このサービスの依存関係。

メソッド

Name 説明
Annotations(IEnumerable<Annotation>, IndentedStringBuilder)

Annotation オブジェクトのコードを生成します。

Annotations(IEnumerable<Annotation>, IndentedStringBuilder)

Annotation オブジェクトのコードを生成します。

Generate(AddCheckConstraintOperation, IndentedStringBuilder)

AddCheckConstraintOperationのコードを生成します。

Generate(AddColumnOperation, IndentedStringBuilder)

AddColumnOperationのコードを生成します。

Generate(AddColumnOperation, IndentedStringBuilder)

AddColumnOperationのコードを生成します。

Generate(AddForeignKeyOperation, IndentedStringBuilder)

AddForeignKeyOperationのコードを生成します。

Generate(AddForeignKeyOperation, IndentedStringBuilder)

AddForeignKeyOperationのコードを生成します。

Generate(AddPrimaryKeyOperation, IndentedStringBuilder)

AddPrimaryKeyOperationのコードを生成します。

Generate(AddPrimaryKeyOperation, IndentedStringBuilder)

AddPrimaryKeyOperationのコードを生成します。

Generate(AddUniqueConstraintOperation, IndentedStringBuilder)

AddUniqueConstraintOperationのコードを生成します。

Generate(AddUniqueConstraintOperation, IndentedStringBuilder)

AddUniqueConstraintOperationのコードを生成します。

Generate(AlterColumnOperation, IndentedStringBuilder)

AlterColumnOperationのコードを生成します。

Generate(AlterColumnOperation, IndentedStringBuilder)

AlterColumnOperationのコードを生成します。

Generate(AlterDatabaseOperation, IndentedStringBuilder)

AlterDatabaseOperationのコードを生成します。

Generate(AlterDatabaseOperation, IndentedStringBuilder)

AlterDatabaseOperationのコードを生成します。

Generate(AlterSequenceOperation, IndentedStringBuilder)

AlterSequenceOperationのコードを生成します。

Generate(AlterSequenceOperation, IndentedStringBuilder)

AlterSequenceOperationのコードを生成します。

Generate(AlterTableOperation, IndentedStringBuilder)

AlterTableOperationのコードを生成します。

Generate(AlterTableOperation, IndentedStringBuilder)

AlterTableOperationのコードを生成します。

Generate(CreateCheckConstraintOperation, IndentedStringBuilder)

CreateCheckConstraintOperationのコードを生成します。

Generate(CreateIndexOperation, IndentedStringBuilder)

CreateIndexOperationのコードを生成します。

Generate(CreateIndexOperation, IndentedStringBuilder)

CreateIndexOperationのコードを生成します。

Generate(CreateSequenceOperation, IndentedStringBuilder)

CreateSequenceOperationのコードを生成します。

Generate(CreateSequenceOperation, IndentedStringBuilder)

CreateSequenceOperationのコードを生成します。

Generate(CreateTableOperation, IndentedStringBuilder)

CreateTableOperationのコードを生成します。

Generate(CreateTableOperation, IndentedStringBuilder)

CreateTableOperationのコードを生成します。

Generate(DeleteDataOperation, IndentedStringBuilder)

DeleteDataOperationのコードを生成します。

Generate(DeleteDataOperation, IndentedStringBuilder)

DeleteDataOperationのコードを生成します。

Generate(DropCheckConstraintOperation, IndentedStringBuilder)

DropCheckConstraintOperationのコードを生成します。

Generate(DropCheckConstraintOperation, IndentedStringBuilder)

DropCheckConstraintOperationのコードを生成します。

Generate(DropColumnOperation, IndentedStringBuilder)

DropColumnOperationのコードを生成します。

Generate(DropColumnOperation, IndentedStringBuilder)

DropColumnOperationのコードを生成します。

Generate(DropForeignKeyOperation, IndentedStringBuilder)

DropForeignKeyOperationのコードを生成します。

Generate(DropForeignKeyOperation, IndentedStringBuilder)

DropForeignKeyOperationのコードを生成します。

Generate(DropIndexOperation, IndentedStringBuilder)

DropIndexOperationのコードを生成します。

Generate(DropIndexOperation, IndentedStringBuilder)

DropIndexOperationのコードを生成します。

Generate(DropPrimaryKeyOperation, IndentedStringBuilder)

DropPrimaryKeyOperationのコードを生成します。

Generate(DropPrimaryKeyOperation, IndentedStringBuilder)

DropPrimaryKeyOperationのコードを生成します。

Generate(DropSchemaOperation, IndentedStringBuilder)

DropSchemaOperationのコードを生成します。

Generate(DropSchemaOperation, IndentedStringBuilder)

DropSchemaOperationのコードを生成します。

Generate(DropSequenceOperation, IndentedStringBuilder)

DropSequenceOperationのコードを生成します。

Generate(DropSequenceOperation, IndentedStringBuilder)

DropSequenceOperationのコードを生成します。

Generate(DropTableOperation, IndentedStringBuilder)

DropTableOperationのコードを生成します。

Generate(DropTableOperation, IndentedStringBuilder)

DropTableOperationのコードを生成します。

Generate(DropUniqueConstraintOperation, IndentedStringBuilder)

DropUniqueConstraintOperationのコードを生成します。

Generate(DropUniqueConstraintOperation, IndentedStringBuilder)

DropUniqueConstraintOperationのコードを生成します。

Generate(EnsureSchemaOperation, IndentedStringBuilder)

EnsureSchemaOperationのコードを生成します。

Generate(EnsureSchemaOperation, IndentedStringBuilder)

EnsureSchemaOperationのコードを生成します。

Generate(InsertDataOperation, IndentedStringBuilder)

InsertDataOperationのコードを生成します。

Generate(InsertDataOperation, IndentedStringBuilder)

InsertDataOperationのコードを生成します。

Generate(MigrationOperation, IndentedStringBuilder)

不明な MigrationOperationのコードを生成します。

Generate(MigrationOperation, IndentedStringBuilder)

不明な MigrationOperationのコードを生成します。

Generate(RenameColumnOperation, IndentedStringBuilder)

RenameColumnOperationのコードを生成します。

Generate(RenameColumnOperation, IndentedStringBuilder)

RenameColumnOperationのコードを生成します。

Generate(RenameIndexOperation, IndentedStringBuilder)

RenameIndexOperationのコードを生成します。

Generate(RenameIndexOperation, IndentedStringBuilder)

RenameIndexOperationのコードを生成します。

Generate(RenameSequenceOperation, IndentedStringBuilder)

RenameSequenceOperationのコードを生成します。

Generate(RenameSequenceOperation, IndentedStringBuilder)

RenameSequenceOperationのコードを生成します。

Generate(RenameTableOperation, IndentedStringBuilder)

RenameTableOperationのコードを生成します。

Generate(RenameTableOperation, IndentedStringBuilder)

RenameTableOperationのコードを生成します。

Generate(RestartSequenceOperation, IndentedStringBuilder)

RestartSequenceOperationのコードを生成します。

Generate(RestartSequenceOperation, IndentedStringBuilder)

RestartSequenceOperationのコードを生成します。

Generate(SqlOperation, IndentedStringBuilder)

SqlOperationのコードを生成します。

Generate(SqlOperation, IndentedStringBuilder)

SqlOperationのコードを生成します。

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

MigrationOperation オブジェクトを作成するためのコードを生成します。

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

MigrationOperation オブジェクトを作成するためのコードを生成します。

Generate(UpdateDataOperation, IndentedStringBuilder)

UpdateDataOperationのコードを生成します。

Generate(UpdateDataOperation, IndentedStringBuilder)

UpdateDataOperationのコードを生成します。

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

削除された Annotation オブジェクトのコードを生成します。

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

削除された Annotation オブジェクトのコードを生成します。

適用対象