SqlServerMigrationsSqlGenerator.DropDescription 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生用於表格和欄位描述的 drop 指令。
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)
參數
- builder
- MigrationCommandListBuilder
用來建立指令的指令建構器。
- schema
- String
表格的結構。
- table
- String
數據表的名稱。
- column
- String
欄位名稱。
- omitSchemaVariableomitVariableDeclarations
- Boolean
指示是否 @defaultSchema 應省略變數宣告。