ICSharpMigrationOperationGenerator.Generate Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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)
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
Entity Framework