SqlServerMigrationsSqlGenerator.DropDescription 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 des commandes de suppression pour les descriptions sur les tables et les colonnes.
protected virtual void DropDescription(Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, string schema, string table, string column = default, bool omitSchemaVariable = false);
protected virtual void DropDescription(Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, string schema, string table, string column = default, bool omitVariableDeclarations = false);
protected virtual void DropDescription(Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, string? schema, string table, string? column = default, bool omitVariableDeclarations = false);
abstract member DropDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * bool -> unit
override this.DropDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * bool -> unit
abstract member DropDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * bool -> unit
override this.DropDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * bool -> unit
Protected Overridable Sub DropDescription (builder As MigrationCommandListBuilder, schema As String, table As String, Optional column As String = Nothing, Optional omitSchemaVariable As Boolean = false)
Protected Overridable Sub DropDescription (builder As MigrationCommandListBuilder, schema As String, table As String, Optional column As String = Nothing, Optional omitVariableDeclarations As Boolean = false)
Paramètres
- builder
- MigrationCommandListBuilder
Générateur de commandes à utiliser pour générer les commandes.
- schema
- String
Schéma de la table.
- table
- String
Nom de la table.
- column
- String
Nom de la colonne.
- omitSchemaVariableomitVariableDeclarations
- Boolean
Indique si la @defaultSchema déclaration de variable doit être omise.