Partilhar via


CSharpMigrationCodeGenerator.GenerateInline Método

Definição

Sobrecargas

GenerateInline(AddForeignKeyOperation, IndentedTextWriter)

Gera código para executar um AddForeignKeyOperation como parte de um CreateTableOperation.

protected virtual void GenerateInline(System.Data.Entity.Migrations.Model.AddForeignKeyOperation addForeignKeyOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateInline : System.Data.Entity.Migrations.Model.AddForeignKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateInline : System.Data.Entity.Migrations.Model.AddForeignKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit

Parâmetros

addForeignKeyOperation
AddForeignKeyOperation

A operação para a qual gerar código.

writer
IndentedTextWriter

Gravador de texto ao qual adicionar o código gerado.

Aplica-se a

GenerateInline(AddPrimaryKeyOperation, IndentedTextWriter)

Gera código para executar um AddPrimaryKeyOperation como parte de um CreateTableOperation.

protected virtual void GenerateInline(System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation addPrimaryKeyOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateInline : System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateInline : System.Data.Entity.Migrations.Model.AddPrimaryKeyOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit

Parâmetros

addPrimaryKeyOperation
AddPrimaryKeyOperation

A operação para a qual gerar código.

writer
IndentedTextWriter

Gravador de texto ao qual adicionar o código gerado.

Aplica-se a

GenerateInline(CreateIndexOperation, IndentedTextWriter)

Gera código para executar um CreateIndexOperation como parte de um CreateTableOperation.

protected virtual void GenerateInline(System.Data.Entity.Migrations.Model.CreateIndexOperation createIndexOperation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateInline : System.Data.Entity.Migrations.Model.CreateIndexOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateInline : System.Data.Entity.Migrations.Model.CreateIndexOperation * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit

Parâmetros

createIndexOperation
CreateIndexOperation

A operação para a qual gerar código.

writer
IndentedTextWriter

Gravador de texto ao qual adicionar o código gerado.

Aplica-se a