次の方法で共有


SqliteMigrationsSqlGenerator.ColumnDefinition メソッド

定義

オーバーロード

ColumnDefinition(AddColumnOperation, IModel, MigrationCommandListBuilder)

内の列定義の SQL フラグメントを生成します AddColumnOperation

ColumnDefinition(String, String, String, ColumnOperation, IModel, MigrationCommandListBuilder)

指定された列メタデータの列定義の SQL フラグメントを生成します。

ColumnDefinition(String, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, IAnnotatable, IModel, MigrationCommandListBuilder)

指定された列メタデータの列定義の SQL フラグメントを生成します。

ColumnDefinition(String, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Boolean, Boolean, Object, String, String, IAnnotatable, IModel, MigrationCommandListBuilder)

指定された列メタデータの列定義の SQL フラグメントを生成します。

ColumnDefinition(AddColumnOperation, IModel, MigrationCommandListBuilder)

内の列定義の SQL フラグメントを生成します AddColumnOperation

protected override void ColumnDefinition (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.ColumnDefinition : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub ColumnDefinition (operation As AddColumnOperation, model As IModel, builder As MigrationCommandListBuilder)

パラメーター

operation
AddColumnOperation

操作。

model
IModel

モデル null のない操作が存在する場合のターゲット モデル。

builder
MigrationCommandListBuilder

SQL フラグメントの追加に使用するコマンド ビルダー。

適用対象

ColumnDefinition(String, String, String, ColumnOperation, IModel, MigrationCommandListBuilder)

指定された列メタデータの列定義の SQL フラグメントを生成します。

protected override void ColumnDefinition (string schema, string table, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void ColumnDefinition (string? schema, string table, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.ColumnDefinition : string * string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub ColumnDefinition (schema As String, table As String, name As String, operation As ColumnOperation, model As IModel, builder As MigrationCommandListBuilder)

パラメーター

schema
String

テーブルを含むスキーマ、または null 既定のスキーマを使用するスキーマ。

table
String

列を格納しているテーブル。

name
String

列名。

operation
ColumnOperation

列のメタデータ。

model
IModel

モデル null のない操作が存在する場合のターゲット モデル。

builder
MigrationCommandListBuilder

SQL フラグメントの追加に使用するコマンド ビルダー。

適用対象

ColumnDefinition(String, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, IAnnotatable, IModel, MigrationCommandListBuilder)

指定された列メタデータの列定義の SQL フラグメントを生成します。

protected override void ColumnDefinition (string schema, string table, string name, Type clrType, string type, bool? unicode, int? maxLength, bool rowVersion, bool nullable, object defaultValue, string defaultValueSql, string computedColumnSql, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.ColumnDefinition : string * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub ColumnDefinition (schema As String, table As String, name As String, clrType As Type, type As String, unicode As Nullable(Of Boolean), maxLength As Nullable(Of Integer), rowVersion As Boolean, nullable As Boolean, defaultValue As Object, defaultValueSql As String, computedColumnSql As String, annotatable As IAnnotatable, model As IModel, builder As MigrationCommandListBuilder)

パラメーター

schema
String

テーブルを含むスキーマ、または null 既定のスキーマを使用するスキーマ。

table
String

列を格納しているテーブル。

name
String

列名。

clrType
Type

列がマップされる CLR Type

type
String

列のデータベース/ストア型。指定 null されていない場合は 。

unicode
Nullable<Boolean>

列に Unicode データを含めることができるかどうか、または null これが該当しないか指定されていないかを示します。

maxLength
Nullable<Int32>

列に含めることができるデータの最大量、または null これが該当しない場合、または指定されていない場合は 。

rowVersion
Boolean

この列が自動コンカレンシー トークン (SQL Server timestamp/rowversion など) であるかどうかを示します。

nullable
Boolean

列に値を格納 NULL できるかどうかを示します。

defaultValue
Object

列の既定値です。

defaultValueSql
String

列の既定の制約に使用する SQL 式。

computedColumnSql
String

列値の計算に使用する SQL 式。

annotatable
IAnnotatable

MigrationOperationカスタム注釈を検索するために使用する 。

model
IModel

モデル null のない操作が存在する場合のターゲット モデル。

builder
MigrationCommandListBuilder

SQL フラグメントの追加に使用するコマンド ビルダー。

適用対象

ColumnDefinition(String, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Boolean, Boolean, Object, String, String, IAnnotatable, IModel, MigrationCommandListBuilder)

指定された列メタデータの列定義の SQL フラグメントを生成します。

protected override void ColumnDefinition (string schema, string table, string name, Type clrType, string type, bool? unicode, int? maxLength, bool? fixedLength, bool rowVersion, bool nullable, object defaultValue, string defaultValueSql, string computedColumnSql, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.ColumnDefinition : string * string * string * Type * string * Nullable<bool> * Nullable<int> * Nullable<bool> * bool * bool * obj * string * string * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub ColumnDefinition (schema As String, table As String, name As String, clrType As Type, type As String, unicode As Nullable(Of Boolean), maxLength As Nullable(Of Integer), fixedLength As Nullable(Of Boolean), rowVersion As Boolean, nullable As Boolean, defaultValue As Object, defaultValueSql As String, computedColumnSql As String, annotatable As IAnnotatable, model As IModel, builder As MigrationCommandListBuilder)

パラメーター

schema
String

テーブルを含むスキーマ、または null 既定のスキーマを使用するスキーマ。

table
String

列を格納しているテーブル。

name
String

列名。

clrType
Type

列がマップされる CLR Type

type
String

列のデータベース/ストア型。指定 null されていない場合は 。

unicode
Nullable<Boolean>

列に Unicode データを含めることができるかどうか、または null これが該当しないか指定されていないかを示します。

maxLength
Nullable<Int32>

列に含めることができるデータの最大量、または null これが該当しない場合、または指定されていない場合は 。

fixedLength
Nullable<Boolean>

列が固定長データに制約されているかどうかを示します。

rowVersion
Boolean

この列が自動コンカレンシー トークン (SQL Server timestamp/rowversion など) であるかどうかを示します。

nullable
Boolean

列に値を格納 NULL できるかどうかを示します。

defaultValue
Object

列の既定値です。

defaultValueSql
String

列の既定の制約に使用する SQL 式。

computedColumnSql
String

列値の計算に使用する SQL 式。

annotatable
IAnnotatable

MigrationOperationカスタム注釈を検索するために使用する 。

model
IModel

モデル null のない操作が存在する場合のターゲット モデル。

builder
MigrationCommandListBuilder

SQL フラグメントの追加に使用するコマンド ビルダー。

適用対象