Compartir a través de


SqlServerMigrationsSqlGenerator.DropDescription Método

Definición

Genera comandos drop para descripciones en tablas y columnas.

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)

Parámetros

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para compilar los comandos.

schema
String

El esquema de la tabla.

table
String

Nombre de la tabla.

column
String

El nombre de la columna.

omitSchemaVariableomitVariableDeclarations
Boolean

Indica si se debe omitir la @defaultSchema declaración de variable.

Se aplica a