CSharpMigrationOperationGenerator.Generate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Generate(InsertDataOperation, IndentedStringBuilder)
Generates code for an InsertDataOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, builder As IndentedStringBuilder)
Parameters
- operation
- InsertDataOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(InsertDataOperation, IndentedStringBuilder)
Generates code for an InsertDataOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.InsertDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As InsertDataOperation, builder As IndentedStringBuilder)
Parameters
- operation
- InsertDataOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(EnsureSchemaOperation, IndentedStringBuilder)
Generates code for an EnsureSchemaOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As EnsureSchemaOperation, builder As IndentedStringBuilder)
Parameters
- operation
- EnsureSchemaOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(EnsureSchemaOperation, IndentedStringBuilder)
Generates code for an EnsureSchemaOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.EnsureSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As EnsureSchemaOperation, builder As IndentedStringBuilder)
Parameters
- operation
- EnsureSchemaOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropUniqueConstraintOperation, IndentedStringBuilder)
Generates code for a DropUniqueConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropUniqueConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropUniqueConstraintOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropUniqueConstraintOperation, IndentedStringBuilder)
Generates code for a DropUniqueConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropUniqueConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropUniqueConstraintOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropSequenceOperation, IndentedStringBuilder)
Generates code for a DropSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropSequenceOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropTableOperation, IndentedStringBuilder)
Generates code for a DropTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropTableOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(MigrationOperation, IndentedStringBuilder)
Generates code for an unknown MigrationOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As MigrationOperation, builder As IndentedStringBuilder)
Parameters
- operation
- MigrationOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropSequenceOperation, IndentedStringBuilder)
Generates code for a DropSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropSequenceOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropSchemaOperation, IndentedStringBuilder)
Generates code for a DropSchemaOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSchemaOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropSchemaOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropSchemaOperation, IndentedStringBuilder)
Generates code for a DropSchemaOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropSchemaOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropSchemaOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropSchemaOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropPrimaryKeyOperation, IndentedStringBuilder)
Generates code for a DropPrimaryKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropPrimaryKeyOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropTableOperation, IndentedStringBuilder)
Generates code for a DropTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropTableOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(MigrationOperation, IndentedStringBuilder)
Generates code for an unknown MigrationOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As MigrationOperation, builder As IndentedStringBuilder)
Parameters
- operation
- MigrationOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameIndexOperation, IndentedStringBuilder)
Generates code for a RenameIndexOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameIndexOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameIndexOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameColumnOperation, IndentedStringBuilder)
Generates code for a RenameColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameColumnOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)
Generates code for creating MigrationOperation objects.
public virtual 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
override this.Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Public Overridable 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.
Implements
Applies to
Generate(String, IReadOnlyList<MigrationOperation>, IndentedStringBuilder)
Generates code for creating MigrationOperation objects.
public virtual 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
override this.Generate : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Public Overridable 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.
Implements
Applies to
Generate(UpdateDataOperation, IndentedStringBuilder)
Generates code for an UpdateDataOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As UpdateDataOperation, builder As IndentedStringBuilder)
Parameters
- operation
- UpdateDataOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(UpdateDataOperation, IndentedStringBuilder)
Generates code for an UpdateDataOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.UpdateDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As UpdateDataOperation, builder As IndentedStringBuilder)
Parameters
- operation
- UpdateDataOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(SqlOperation, IndentedStringBuilder)
Generates code for a SqlOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As SqlOperation, builder As IndentedStringBuilder)
Parameters
- operation
- SqlOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(SqlOperation, IndentedStringBuilder)
Generates code for a SqlOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.SqlOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As SqlOperation, builder As IndentedStringBuilder)
Parameters
- operation
- SqlOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameColumnOperation, IndentedStringBuilder)
Generates code for a RenameColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameColumnOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RestartSequenceOperation, IndentedStringBuilder)
Generates code for a RestartSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RestartSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RestartSequenceOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameTableOperation, IndentedStringBuilder)
Generates code for a RenameTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameTableOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameTableOperation, IndentedStringBuilder)
Generates code for a RenameTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameTableOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameSequenceOperation, IndentedStringBuilder)
Generates code for a RenameSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameSequenceOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameSequenceOperation, IndentedStringBuilder)
Generates code for a RenameSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameSequenceOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RenameIndexOperation, IndentedStringBuilder)
Generates code for a RenameIndexOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RenameIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RenameIndexOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RenameIndexOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropPrimaryKeyOperation, IndentedStringBuilder)
Generates code for a DropPrimaryKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropPrimaryKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropPrimaryKeyOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(RestartSequenceOperation, IndentedStringBuilder)
Generates code for a RestartSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.RestartSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As RestartSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- RestartSequenceOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropIndexOperation, IndentedStringBuilder)
Generates code for a DropIndexOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropIndexOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropForeignKeyOperation, IndentedStringBuilder)
Generates code for a DropForeignKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropForeignKeyOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterTableOperation, IndentedStringBuilder)
Generates code for an AlterTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterTableOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddColumnOperation, IndentedStringBuilder)
Generates code for an AddColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddColumnOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddForeignKeyOperation, IndentedStringBuilder)
Generates code for an AddForeignKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddForeignKeyOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddForeignKeyOperation, IndentedStringBuilder)
Generates code for an AddForeignKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddForeignKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddForeignKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddForeignKeyOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddPrimaryKeyOperation, IndentedStringBuilder)
Generates code for an AddPrimaryKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddPrimaryKeyOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddPrimaryKeyOperation, IndentedStringBuilder)
Generates code for an AddPrimaryKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddPrimaryKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddPrimaryKeyOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddUniqueConstraintOperation, IndentedStringBuilder)
Generates code for an AddUniqueConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddUniqueConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddUniqueConstraintOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddUniqueConstraintOperation, IndentedStringBuilder)
Generates code for an AddUniqueConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddUniqueConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddUniqueConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddUniqueConstraintOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterColumnOperation, IndentedStringBuilder)
Generates code for an AlterColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterColumnOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterColumnOperation, IndentedStringBuilder)
Generates code for an AlterColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterColumnOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterDatabaseOperation, IndentedStringBuilder)
Generates code for an AlterDatabaseOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterDatabaseOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterDatabaseOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterDatabaseOperation, IndentedStringBuilder)
Generates code for an AlterDatabaseOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterDatabaseOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterDatabaseOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterDatabaseOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterSequenceOperation, IndentedStringBuilder)
Generates code for an AlterSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterSequenceOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterSequenceOperation, IndentedStringBuilder)
Generates code for an AlterSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterSequenceOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropIndexOperation, IndentedStringBuilder)
Generates code for a DropIndexOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropIndexOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropIndexOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AlterTableOperation, IndentedStringBuilder)
Generates code for an AlterTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AlterTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AlterTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AlterTableOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(CreateCheckConstraintOperation, IndentedStringBuilder)
Generates code for an CreateCheckConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateCheckConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- CreateCheckConstraintOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(CreateIndexOperation, IndentedStringBuilder)
Generates code for a CreateIndexOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, builder As IndentedStringBuilder)
Parameters
- operation
- CreateIndexOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(CreateIndexOperation, IndentedStringBuilder)
Generates code for a CreateIndexOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateIndexOperation, builder As IndentedStringBuilder)
Parameters
- operation
- CreateIndexOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(CreateSequenceOperation, IndentedStringBuilder)
Generates code for a CreateSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- CreateSequenceOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(CreateSequenceOperation, IndentedStringBuilder)
Generates code for a CreateSequenceOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateSequenceOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateSequenceOperation, builder As IndentedStringBuilder)
Parameters
- operation
- CreateSequenceOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(CreateTableOperation, IndentedStringBuilder)
Generates code for a CreateTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- CreateTableOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(CreateTableOperation, IndentedStringBuilder)
Generates code for a CreateTableOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateTableOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As CreateTableOperation, builder As IndentedStringBuilder)
Parameters
- operation
- CreateTableOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DeleteDataOperation, IndentedStringBuilder)
Generates code for a DeleteDataOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DeleteDataOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DeleteDataOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DeleteDataOperation, IndentedStringBuilder)
Generates code for a DeleteDataOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DeleteDataOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DeleteDataOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DeleteDataOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropCheckConstraintOperation, IndentedStringBuilder)
Generates code for a DropCheckConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropCheckConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropCheckConstraintOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropCheckConstraintOperation, IndentedStringBuilder)
Generates code for a DropCheckConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropCheckConstraintOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropCheckConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropCheckConstraintOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropColumnOperation, IndentedStringBuilder)
Generates code for a DropColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropColumnOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropColumnOperation, IndentedStringBuilder)
Generates code for a DropColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation operation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropColumnOperation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropColumnOperation
The operation.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Generate(DropForeignKeyOperation, IndentedStringBuilder)
Generates code for a DropForeignKeyOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.DropForeignKeyOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As DropForeignKeyOperation, builder As IndentedStringBuilder)
Parameters
- operation
- DropForeignKeyOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddColumnOperation, IndentedStringBuilder)
Generates code for an AddColumnOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddColumnOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddColumnOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Generate(AddCheckConstraintOperation, IndentedStringBuilder)
Generates code for an AddCheckConstraintOperation.
protected virtual void Generate (Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation operation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.Generate : Microsoft.EntityFrameworkCore.Migrations.Operations.AddCheckConstraintOperation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub Generate (operation As AddCheckConstraintOperation, builder As IndentedStringBuilder)
Parameters
- operation
- AddCheckConstraintOperation
The operation.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
Entity Framework