Bagikan melalui


SqlServerMigrationsSqlGenerator.DropDescription Metode

Definisi

Menghasilkan perintah drop untuk deskripsi pada tabel dan kolom.

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)

Parameter

builder
MigrationCommandListBuilder

Penyusun perintah yang digunakan untuk membangun perintah.

schema
String

Skema tabel.

table
String

Nama tabel.

column
String

Nama kolom.

omitSchemaVariableomitVariableDeclarations
Boolean

Menunjukkan apakah @defaultSchema deklarasi variabel harus dihilangkan.

Berlaku untuk