SqlServerMigrationsSqlGenerator.DropDescription Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Generiert Dropbefehle für Beschreibungen in Tabellen und Spalten.
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 omitSchemaVariable = 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 omitVariableDeclarations As Boolean = false)
Protected Overridable Sub DropDescription (builder As MigrationCommandListBuilder, schema As String, table As String, Optional column As String = Nothing, Optional omitSchemaVariable As Boolean = false)
Parameter
- builder
- MigrationCommandListBuilder
Der Befehls-Generator, der zum Erstellen der Befehle verwendet werden soll.
- schema
- String
Das Schema der Tabelle.
- table
- String
Der Name der Tabelle.
- column
- String
Der Name der Spalte.
- omitSchemaVariableomitVariableDeclarations
- Boolean
Gibt an, ob die @defaultSchema Variable deklaraion weggelassen werden soll.