Share via


OperationBuilder<TOperation> Class

Definition

A builder for MigrationOperations.

public class OperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<TOperation> where TOperation : MigrationOperation
[System.Runtime.CompilerServices.Nullable(0)]
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)>
[<System.Runtime.CompilerServices.Nullable(0)>]
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
Attributes
Implements
IInfrastructure<TOperation>

Constructors

Name Description
OperationBuilder<TOperation>(TOperation)

Creates a new builder instance for the given MigrationOperation.

Properties

Name Description
Operation

The MigrationOperation.

Methods

Name Description
Annotation(String, Object)

Annotates the operation with the given name/value pair.

Explicit Interface Implementations

Name Description
IInfrastructure<TOperation>.Instance

Extension Methods

Name Description
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