次の方法で共有


SqlServerMigrationsSqlGenerator.AddDescription メソッド

定義

テーブルと列に対する説明の追加コマンドを生成します。

protected virtual void AddDescription (Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, string description, string schema, string table, string column = default, bool omitSchemaVariable = false);
protected virtual void AddDescription (Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, string description, string schema, string table, string column = default, bool omitVariableDeclarations = false);
protected virtual void AddDescription (Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, string description, string? schema, string table, string? column = default, bool omitVariableDeclarations = false);
abstract member AddDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * string * bool -> unit
override this.AddDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * string * bool -> unit
abstract member AddDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * string * bool -> unit
override this.AddDescription : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * string * string * string * string * bool -> unit
Protected Overridable Sub AddDescription (builder As MigrationCommandListBuilder, description As String, schema As String, table As String, Optional column As String = Nothing, Optional omitSchemaVariable As Boolean = false)
Protected Overridable Sub AddDescription (builder As MigrationCommandListBuilder, description As String, schema As String, table As String, Optional column As String = Nothing, Optional omitVariableDeclarations As Boolean = false)

パラメーター

builder
MigrationCommandListBuilder

コマンドのビルドに使用するコマンド ビルダー。

description
String

適用する新しい説明。

schema
String

テーブルのスキーマ。

table
String

テーブルの名前。

column
String

列の名前。

omitSchemaVariableomitVariableDeclarations
Boolean

変数宣言を @defaultSchema 省略するかどうかを示します。

適用対象