Delen via


OperationBuilder<TOperation> Class

Definition

A builder for MigrationOperations.

public class OperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<TOperation> where TOperation : MigrationOperation
type OperationBuilder<'Operation (requires 'Operation :> MigrationOperation)> = class
    interface IInfrastructure<'Operation (requires 'Operation :> MigrationOperation)>
Public Class OperationBuilder(Of TOperation)
Implements IInfrastructure(Of TOperation)

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

Operation

The MigrationOperation.

Methods

Annotation(String, Object)

Annotates the operation with the given name/value pair.

Explicit Interface Implementations

IInfrastructure<TOperation>.Instance

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