Share via


ICSharpMigrationOperationGenerator.Generate Method

Definition

Overloads

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Generates code for creating MigrationOperation objects.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Generates code for creating MigrationOperation objects.

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Source:
ICSharpMigrationOperationGenerator.cs
Source:
ICSharpMigrationOperationGenerator.cs
Source:
ICSharpMigrationOperationGenerator.cs

Generates code for creating MigrationOperation objects.

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)

Parameters

builderName
String

The MigrationOperation variable name.

operations
IReadOnlyList<MigrationOperation>

The operations.

builder
IndentedStringBuilder

The builder code is added to.

Applies to

Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)

Generates code for creating MigrationOperation objects.

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)

Parameters

builderName
String

The MigrationOperation variable name.

operations
IReadOnlyList<MigrationOperation>

The operations.

builder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

The builder code is added to.

Applies to