OperationBuilder<TOperation> Class

Definition

A builder for MigrationOperations.

C#
public class OperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<TOperation> where TOperation : MigrationOperation

Type Parameters

TOperation

The type of MigrationOperation to build for.

Inheritance
OperationBuilder<TOperation>
Derived
Implements
IInfrastructure<TOperation>

Constructors

OperationBuilder<TOperation>(TOperation)

Creates a new builder instance for the given MigrationOperation.

Properties

Methods

Annotation(String, Object)

Annotates the operation with the given name/value pair.

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

Product Versions
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0