Share via


AlterOperationBuilder<TOperation> Class

Definition

A builder for IAlterMigrationOperation operations.

public class AlterOperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> where TOperation : MigrationOperation, IAlterMigrationOperation
type AlterOperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)> = class
    inherit OperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)>
Public Class AlterOperationBuilder(Of TOperation)
Inherits OperationBuilder(Of TOperation)

Type Parameters

TOperation

The operation type to build.

Inheritance
AlterOperationBuilder<TOperation>

Constructors

AlterOperationBuilder<TOperation>(TOperation)

Constructs a builder for the given MigrationOperation.

Properties

Operation

The MigrationOperation.

(Inherited from OperationBuilder<TOperation>)

Methods

Annotation(String, Object)

Annotates the MigrationOperation with the given name/value pair.

OldAnnotation(String, Object)

Annotates the MigrationOperation with the given name/value pair as an annotation that was present before the alteration.

Explicit Interface Implementations

IInfrastructure<TOperation>.Instance (Inherited from OperationBuilder<TOperation>)

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to