AlterOperationBuilder<TOperation> Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Générateur pour les IAlterMigrationOperation opérations.
public class AlterOperationBuilder<TOperation> : Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> where TOperation : MigrationOperation, IAlterMigrationOperation
type AlterOperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)> = class
inherit OperationBuilder<'Operation (requires 'Operation :> MigrationOperation and 'Operation :> IAlterMigrationOperation)>
Public Class AlterOperationBuilder(Of TOperation)
Inherits OperationBuilder(Of TOperation)
Paramètres de type
- TOperation
Type d’opération à générer.
- Héritage
Constructeurs
| AlterOperationBuilder<TOperation>(TOperation) |
Construit un générateur pour le donné MigrationOperation. |
Propriétés
| Operation |
L’MigrationOperationopérateur (Hérité de OperationBuilder<TOperation>) |
Méthodes
| Annotation(String, Object) |
Annote avec MigrationOperation la paire nom/valeur donnée. |
| OldAnnotation(String, Object) |
Annote le MigrationOperation avec la paire nom/valeur donnée en tant qu’annotation qui était présente avant la modification. |
Implémentations d’interfaces explicites
| IInfrastructure<TOperation>.Instance |
Générateur pour les IAlterMigrationOperation opérations. (Hérité de OperationBuilder<TOperation>) |
Méthodes d’extension
| GetInfrastructure<T>(IInfrastructure<T>) |
Obtient la valeur d’une propriété masquée à l’aide IInfrastructure<T>de . Cette méthode est généralement utilisée par les fournisseurs de base de données (et d’autres extensions). Il n’est généralement pas utilisé dans le code de l’application. |