Sprache

OperationBuilder<TOperation> Klasse

Definition

Ein Generator für 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)

Typparameter

TOperation

Der Typ des Zu erstellenden Vorgangs MigrationOperation .

Vererbung
OperationBuilder<TOperation>
Abgeleitet
Attribute
Implementiert
IInfrastructure<TOperation>

Konstruktoren

Name Beschreibung
OperationBuilder<TOperation>(TOperation)

Erstellt eine neue Generator-Instanz für die angegebene .MigrationOperation

Eigenschaften

Name Beschreibung
Operation

Die MigrationOperation.

Methoden

Name Beschreibung
Annotation(String, Object)

Kommentiert den Vorgang mit dem Angegebenen Namen/Wert-Paar.

Explizite Schnittstellenimplementierungen

Name Beschreibung
IInfrastructure<TOperation>.Instance

Ein Generator für MigrationOperations.

Erweiterungsmethoden

Name Beschreibung
GetInfrastructure<T>(IInfrastructure<T>)

Ruft den Wert aus einer Eigenschaft ab, die mithilfe von IInfrastructure<T>ausgeblendet wird.

Diese Methode wird in der Regel von Datenbankanbietern (und anderen Erweiterungen) verwendet. Sie wird in der Regel nicht im Anwendungscode verwendet.

Gilt für: