Partilhar via


ICSharpMigrationOperationGenerator.Generate Método

Definição

Sobrecargas

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Gera código para criar MigrationOperation objetos.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Gera código para criar MigrationOperation objetos.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Origem:
ICSharpMigrationOperationGenerator.cs
Origem:
ICSharpMigrationOperationGenerator.cs
Origem:
ICSharpMigrationOperationGenerator.cs

Gera código para criar MigrationOperation objetos.

public void Generate (string builderName, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Public Sub Generate (builderName As String, operations As IReadOnlyList(Of MigrationOperation), builder As IndentedStringBuilder)

Parâmetros

builderName
String

O nome da MigrationOperation variável.

operations
IReadOnlyList<MigrationOperation>

As operações.

builder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Gera código para criar MigrationOperation objetos.

public void Generate (string builderName, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Public Sub Generate (builderName As String, operations As IReadOnlyList(Of MigrationOperation), builder As IndentedStringBuilder)

Parâmetros

builderName
String

O nome da MigrationOperation variável.

operations
IReadOnlyList<MigrationOperation>

As operações.

builder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a