AlterOperationBuilder<TOperation> Class

Definition

A builder for IAlterMigrationOperation operations.

C#
public class AlterOperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> where TOperation : MigrationOperation, IAlterMigrationOperation

Type Parameters

TOperation

The operation type to build.

Inheritance
AlterOperationBuilder<TOperation>

Constructors

Properties

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

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

منتج الإصدارات
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0