MigrationsSqlGenerator.EndStatement Méthode
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ère un fragment SQL pour mettre fin à la commande SQL.
protected virtual void EndStatement(Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool suppressTransaction = false);
abstract member EndStatement : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.EndStatement : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub EndStatement (builder As MigrationCommandListBuilder, Optional suppressTransaction As Boolean = false)
Paramètres
- builder
- MigrationCommandListBuilder
Générateur de commandes à utiliser pour ajouter le fragment SQL.
- suppressTransaction
- Boolean
Indique si les transactions doivent ou non être supprimées lors de l’exécution de la commande générée.