次の方法で共有


MigrationBuilder.AlterColumn メソッド

定義

オーバーロード

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String)
AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String)

既存の AlterColumnOperation 列を変更する をビルドします。

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, Nullable<Boolean>, Nullable<Boolean>)

既存の AlterColumnOperation 列を変更する をビルドします。

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, Nullable<Boolean>, Nullable<Boolean>, String, String)

既存の AlterColumnOperation 列を変更する をビルドします。

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>)

既存の AlterColumnOperation 列を変更する をビルドします。

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String)

public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation> AlterColumn<T> (string name, string table, string type = default, bool? unicode = default, int? maxLength = default, bool rowVersion = false, string schema = default, bool nullable = false, object defaultValue = default, string defaultValueSql = default, string computedColumnSql = default);
abstract member AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
override this.AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
Public Overridable Function AlterColumn(Of T) (name As String, table As String, Optional type As String = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional maxLength As Nullable(Of Integer) = Nothing, Optional rowVersion As Boolean = false, Optional schema As String = Nothing, Optional nullable As Boolean = false, Optional defaultValue As Object = Nothing, Optional defaultValueSql As String = Nothing, Optional computedColumnSql As String = Nothing) As OperationBuilder(Of AlterColumnOperation)

型パラメーター

T

パラメーター

name
String
table
String
type
String
unicode
Nullable<Boolean>
maxLength
Nullable<Int32>
rowVersion
Boolean
schema
String
nullable
Boolean
defaultValue
Object
defaultValueSql
String
computedColumnSql
String

戻り値

適用対象

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String)

既存の AlterColumnOperation 列を変更する をビルドします。

public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation> AlterColumn<T> (string name, string table, string type = default, bool? unicode = default, int? maxLength = default, bool rowVersion = false, string schema = default, bool nullable = false, object defaultValue = default, string defaultValueSql = default, string computedColumnSql = default, Type oldClrType = default, string oldType = default, bool? oldUnicode = default, int? oldMaxLength = default, bool oldRowVersion = false, bool oldNullable = false, object oldDefaultValue = default, string oldDefaultValueSql = default, string oldComputedColumnSql = default);
public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation> AlterColumn<T> (string name, string table, string type, bool? unicode, int? maxLength, bool rowVersion, string schema, bool nullable, object defaultValue, string defaultValueSql, string computedColumnSql, Type oldClrType, string oldType, bool? oldUnicode, int? oldMaxLength, bool oldRowVersion, bool oldNullable, object oldDefaultValue, string oldDefaultValueSql, string oldComputedColumnSql);
abstract member AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
override this.AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
Public Overridable Function AlterColumn(Of T) (name As String, table As String, Optional type As String = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional maxLength As Nullable(Of Integer) = Nothing, Optional rowVersion As Boolean = false, Optional schema As String = Nothing, Optional nullable As Boolean = false, Optional defaultValue As Object = Nothing, Optional defaultValueSql As String = Nothing, Optional computedColumnSql As String = Nothing, Optional oldClrType As Type = Nothing, Optional oldType As String = Nothing, Optional oldUnicode As Nullable(Of Boolean) = Nothing, Optional oldMaxLength As Nullable(Of Integer) = Nothing, Optional oldRowVersion As Boolean = false, Optional oldNullable As Boolean = false, Optional oldDefaultValue As Object = Nothing, Optional oldDefaultValueSql As String = Nothing, Optional oldComputedColumnSql As String = Nothing) As AlterOperationBuilder(Of AlterColumnOperation)
Public Overridable Function AlterColumn(Of T) (name As String, table As String, type As String, unicode As Nullable(Of Boolean), maxLength As Nullable(Of Integer), rowVersion As Boolean, schema As String, nullable As Boolean, defaultValue As Object, defaultValueSql As String, computedColumnSql As String, oldClrType As Type, oldType As String, oldUnicode As Nullable(Of Boolean), oldMaxLength As Nullable(Of Integer), oldRowVersion As Boolean, oldNullable As Boolean, oldDefaultValue As Object, oldDefaultValueSql As String, oldComputedColumnSql As String) As AlterOperationBuilder(Of AlterColumnOperation)

型パラメーター

T

列がマップされる CLR 型。

パラメーター

name
String

列名。

table
String

列を含むテーブルの名前です。

type
String

列のストア/データベース型。

unicode
Nullable<Boolean>

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

maxLength
Nullable<Int32>

列に格納できるデータの最大長。 null 指定されていない場合、または該当しない場合は 。

rowVersion
Boolean

列が、SQL Serverの rowversion/timestamp 列など、自動コンカレンシー トークンとして機能するかどうかを示します。

schema
String

テーブルを含むスキーマ。既定 null のスキーマを使用する必要がある場合は 。

nullable
Boolean

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

defaultValue
Object

列の既定値です。

defaultValueSql
String

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

computedColumnSql
String

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

oldClrType
Type

列が以前にマップされた CLR 型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldType
String

列の以前のストア/データベース型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldUnicode
Nullable<Boolean>

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

oldMaxLength
Nullable<Int32>

列に格納できるデータの以前の最大長。 null 指定されていない場合、または該当しない場合は 。

oldRowVersion
Boolean

列が以前に自動コンカレンシー トークンとして機能していたかどうかを示します (SQL Serverの rowversion/timestamp 列など)。 を 指定できます null。この場合、前の値は不明と見なされます。

oldNullable
Boolean

列に以前に値を格納 NULL できるかどうかを示します。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValue
Object

列の以前の既定値。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValueSql
String

列の既定の制約に使用された前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

oldComputedColumnSql
String

列値の計算に使用した前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

戻り値

操作に注釈を追加できるようにするビルダー。

適用対象

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, Nullable<Boolean>, Nullable<Boolean>)

既存の AlterColumnOperation 列を変更する をビルドします。

public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation> AlterColumn<T> (string name, string table, string type = default, bool? unicode = default, int? maxLength = default, bool rowVersion = false, string schema = default, bool nullable = false, object defaultValue = default, string defaultValueSql = default, string computedColumnSql = default, Type oldClrType = default, string oldType = default, bool? oldUnicode = default, int? oldMaxLength = default, bool oldRowVersion = false, bool oldNullable = false, object oldDefaultValue = default, string oldDefaultValueSql = default, string oldComputedColumnSql = default, bool? fixedLength = default, bool? oldFixedLength = default);
abstract member AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string * Nullable<bool> * Nullable<bool> -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
override this.AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string * Nullable<bool> * Nullable<bool> -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
Public Overridable Function AlterColumn(Of T) (name As String, table As String, Optional type As String = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional maxLength As Nullable(Of Integer) = Nothing, Optional rowVersion As Boolean = false, Optional schema As String = Nothing, Optional nullable As Boolean = false, Optional defaultValue As Object = Nothing, Optional defaultValueSql As String = Nothing, Optional computedColumnSql As String = Nothing, Optional oldClrType As Type = Nothing, Optional oldType As String = Nothing, Optional oldUnicode As Nullable(Of Boolean) = Nothing, Optional oldMaxLength As Nullable(Of Integer) = Nothing, Optional oldRowVersion As Boolean = false, Optional oldNullable As Boolean = false, Optional oldDefaultValue As Object = Nothing, Optional oldDefaultValueSql As String = Nothing, Optional oldComputedColumnSql As String = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional oldFixedLength As Nullable(Of Boolean) = Nothing) As AlterOperationBuilder(Of AlterColumnOperation)

型パラメーター

T

列がマップされる CLR 型。

パラメーター

name
String

列名。

table
String

列を含むテーブルの名前です。

type
String

列のストア/データベース型。

unicode
Nullable<Boolean>

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

maxLength
Nullable<Int32>

列に格納できるデータの最大長。 null 指定されていない場合、または該当しない場合は 。

rowVersion
Boolean

列が、SQL Serverの rowversion/timestamp 列など、自動コンカレンシー トークンとして機能するかどうかを示します。

schema
String

テーブルを含むスキーマ。既定 null のスキーマを使用する必要がある場合は 。

nullable
Boolean

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

defaultValue
Object

列の既定値です。

defaultValueSql
String

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

computedColumnSql
String

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

oldClrType
Type

列が以前にマップされた CLR 型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldType
String

列の以前のストア/データベース型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldUnicode
Nullable<Boolean>

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

oldMaxLength
Nullable<Int32>

列に格納できるデータの以前の最大長。 null 指定されていない場合、または該当しない場合は 。

oldRowVersion
Boolean

列が以前に自動コンカレンシー トークンとして機能していたかどうかを示します (SQL Serverの rowversion/timestamp 列など)。 を 指定できます null。この場合、前の値は不明と見なされます。

oldNullable
Boolean

列に以前に値を格納 NULL できるかどうかを示します。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValue
Object

列の以前の既定値。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValueSql
String

列の既定の制約に使用された前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

oldComputedColumnSql
String

列値の計算に使用した前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

fixedLength
Nullable<Boolean>

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

oldFixedLength
Nullable<Boolean>

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

戻り値

操作に注釈を追加できるようにするビルダー。

適用対象

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, Nullable<Boolean>, Nullable<Boolean>, String, String)

既存の AlterColumnOperation 列を変更する をビルドします。

public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation> AlterColumn<T> (string name, string table, string type = default, bool? unicode = default, int? maxLength = default, bool rowVersion = false, string schema = default, bool nullable = false, object defaultValue = default, string defaultValueSql = default, string computedColumnSql = default, Type oldClrType = default, string oldType = default, bool? oldUnicode = default, int? oldMaxLength = default, bool oldRowVersion = false, bool oldNullable = false, object oldDefaultValue = default, string oldDefaultValueSql = default, string oldComputedColumnSql = default, bool? fixedLength = default, bool? oldFixedLength = default, string comment = default, string oldComment = default);
abstract member AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string * Nullable<bool> * Nullable<bool> * string * string -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
override this.AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string * Nullable<bool> * Nullable<bool> * string * string -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
Public Overridable Function AlterColumn(Of T) (name As String, table As String, Optional type As String = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional maxLength As Nullable(Of Integer) = Nothing, Optional rowVersion As Boolean = false, Optional schema As String = Nothing, Optional nullable As Boolean = false, Optional defaultValue As Object = Nothing, Optional defaultValueSql As String = Nothing, Optional computedColumnSql As String = Nothing, Optional oldClrType As Type = Nothing, Optional oldType As String = Nothing, Optional oldUnicode As Nullable(Of Boolean) = Nothing, Optional oldMaxLength As Nullable(Of Integer) = Nothing, Optional oldRowVersion As Boolean = false, Optional oldNullable As Boolean = false, Optional oldDefaultValue As Object = Nothing, Optional oldDefaultValueSql As String = Nothing, Optional oldComputedColumnSql As String = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional oldFixedLength As Nullable(Of Boolean) = Nothing, Optional comment As String = Nothing, Optional oldComment As String = Nothing) As AlterOperationBuilder(Of AlterColumnOperation)

型パラメーター

T

列がマップされる CLR 型。

パラメーター

name
String

列名。

table
String

列を含むテーブルの名前です。

type
String

列のストア/データベース型。

unicode
Nullable<Boolean>

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

maxLength
Nullable<Int32>

列に格納できるデータの最大長。 null 指定されていない場合、または該当しない場合は 。

rowVersion
Boolean

列が、SQL Serverの rowversion/timestamp 列など、自動コンカレンシー トークンとして機能するかどうかを示します。

schema
String

テーブルを含むスキーマ。既定 null のスキーマを使用する必要がある場合は 。

nullable
Boolean

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

defaultValue
Object

列の既定値です。

defaultValueSql
String

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

computedColumnSql
String

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

oldClrType
Type

列が以前にマップされた CLR 型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldType
String

列の以前のストア/データベース型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldUnicode
Nullable<Boolean>

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

oldMaxLength
Nullable<Int32>

列に格納できるデータの以前の最大長。 null 指定されていない場合、または該当しない場合は 。

oldRowVersion
Boolean

列が以前に自動コンカレンシー トークンとして機能していたかどうかを示します (SQL Serverの rowversion/timestamp 列など)。 を 指定できます null。この場合、前の値は不明と見なされます。

oldNullable
Boolean

列に以前に値を格納 NULL できるかどうかを示します。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValue
Object

列の以前の既定値。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValueSql
String

列の既定の制約に使用された前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

oldComputedColumnSql
String

列値の計算に使用した前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

fixedLength
Nullable<Boolean>

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

oldFixedLength
Nullable<Boolean>

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

comment
String

列に関連付けるコメント。

oldComment
String

列に関連付ける前のコメント。

戻り値

操作に注釈を追加できるようにするビルダー。

適用対象

AlterColumn<T>(String, String, String, Nullable<Boolean>, Nullable<Int32>, Boolean, String, Boolean, Object, String, String, Type, String, Nullable<Boolean>, Nullable<Int32>, Boolean, Boolean, Object, String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>)

既存の AlterColumnOperation 列を変更する をビルドします。

public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation> AlterColumn<T> (string name, string table, string type = default, bool? unicode = default, int? maxLength = default, bool rowVersion = false, string schema = default, bool nullable = false, object defaultValue = default, string defaultValueSql = default, string computedColumnSql = default, Type oldClrType = default, string oldType = default, bool? oldUnicode = default, int? oldMaxLength = default, bool oldRowVersion = false, bool oldNullable = false, object oldDefaultValue = default, string oldDefaultValueSql = default, string oldComputedColumnSql = default, bool? fixedLength = default, bool? oldFixedLength = default, string comment = default, string oldComment = default, string collation = default, string oldCollation = default, int? precision = default, int? oldPrecision = default, int? scale = default, int? oldScale = default, bool? stored = default, bool? oldStored = default);
public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation> AlterColumn<T> (string name, string table, string? type = default, bool? unicode = default, int? maxLength = default, bool rowVersion = false, string? schema = default, bool nullable = false, object? defaultValue = default, string? defaultValueSql = default, string? computedColumnSql = default, Type? oldClrType = default, string? oldType = default, bool? oldUnicode = default, int? oldMaxLength = default, bool oldRowVersion = false, bool oldNullable = false, object? oldDefaultValue = default, string? oldDefaultValueSql = default, string? oldComputedColumnSql = default, bool? fixedLength = default, bool? oldFixedLength = default, string? comment = default, string? oldComment = default, string? collation = default, string? oldCollation = default, int? precision = default, int? oldPrecision = default, int? scale = default, int? oldScale = default, bool? stored = default, bool? oldStored = default);
abstract member AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string * Nullable<bool> * Nullable<bool> * string * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
override this.AlterColumn : string * string * string * Nullable<bool> * Nullable<int> * bool * string * bool * obj * string * string * Type * string * Nullable<bool> * Nullable<int> * bool * bool * obj * string * string * Nullable<bool> * Nullable<bool> * string * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.AlterOperationBuilder<Microsoft.EntityFrameworkCore.Migrations.Operations.AlterColumnOperation>
Public Overridable Function AlterColumn(Of T) (name As String, table As String, Optional type As String = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional maxLength As Nullable(Of Integer) = Nothing, Optional rowVersion As Boolean = false, Optional schema As String = Nothing, Optional nullable As Boolean = false, Optional defaultValue As Object = Nothing, Optional defaultValueSql As String = Nothing, Optional computedColumnSql As String = Nothing, Optional oldClrType As Type = Nothing, Optional oldType As String = Nothing, Optional oldUnicode As Nullable(Of Boolean) = Nothing, Optional oldMaxLength As Nullable(Of Integer) = Nothing, Optional oldRowVersion As Boolean = false, Optional oldNullable As Boolean = false, Optional oldDefaultValue As Object = Nothing, Optional oldDefaultValueSql As String = Nothing, Optional oldComputedColumnSql As String = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional oldFixedLength As Nullable(Of Boolean) = Nothing, Optional comment As String = Nothing, Optional oldComment As String = Nothing, Optional collation As String = Nothing, Optional oldCollation As String = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional oldPrecision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing, Optional oldScale As Nullable(Of Integer) = Nothing, Optional stored As Nullable(Of Boolean) = Nothing, Optional oldStored As Nullable(Of Boolean) = Nothing) As AlterOperationBuilder(Of AlterColumnOperation)

型パラメーター

T

列がマップされる CLR 型。

パラメーター

name
String

列名。

table
String

列を含むテーブルの名前です。

type
String

列のストア/データベース型。

unicode
Nullable<Boolean>

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

maxLength
Nullable<Int32>

列に格納できるデータの最大長。 null 指定されていない場合、または該当しない場合は 。

rowVersion
Boolean

列が、SQL Serverの rowversion/timestamp 列など、自動コンカレンシー トークンとして機能するかどうかを示します。

schema
String

テーブルを含むスキーマ。既定 null のスキーマを使用する必要がある場合は 。

nullable
Boolean

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

defaultValue
Object

列の既定値です。

defaultValueSql
String

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

computedColumnSql
String

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

oldClrType
Type

列が以前にマップされた CLR 型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldType
String

列の以前のストア/データベース型。 を 指定できます null。この場合、前の値は不明と見なされます。

oldUnicode
Nullable<Boolean>

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

oldMaxLength
Nullable<Int32>

列に格納できるデータの以前の最大長。 null 指定されていない場合、または該当しない場合は 。

oldRowVersion
Boolean

列が以前に自動コンカレンシー トークンとして機能していたかどうかを示します (SQL Serverの rowversion/timestamp 列など)。 を 指定できます null。この場合、前の値は不明と見なされます。

oldNullable
Boolean

列に以前に値を格納 null できるかどうかを示します。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValue
Object

列の以前の既定値。 を 指定できます null。この場合、前の値は不明と見なされます。

oldDefaultValueSql
String

列の既定の制約に使用された前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

oldComputedColumnSql
String

列値の計算に使用した前の SQL 式。 を 指定できます null。この場合、前の値は不明と見なされます。

fixedLength
Nullable<Boolean>

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

oldFixedLength
Nullable<Boolean>

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

comment
String

列に関連付けるコメント。

oldComment
String

列に関連付ける前のコメント。

collation
String

列に適用する照合順序。

oldCollation
String

列に適用する前の照合順序。

precision
Nullable<Int32>

この列で許可される最大桁数。 null 指定されていない場合、または該当しない場合は 。

oldPrecision
Nullable<Int32>

この列で許可されている以前の最大桁数。 null 指定されていない場合、または該当しない場合は 。

scale
Nullable<Int32>

この列で許可される小数点以下の桁数の最大数。 null 指定されていない場合、または該当しない場合は 。

oldScale
Nullable<Int32>

この列で許可されている小数点以下の桁数の前の最大数。 null 指定されていない場合、または該当しない場合は 。

stored
Nullable<Boolean>

計算列の値がデータベースに格納されているかどうか。

oldStored
Nullable<Boolean>

前の計算列の値がデータベースに格納されているかどうか。

戻り値

操作に注釈を追加できるようにするビルダー。

注釈

詳細と例については、「 データベースの移行 」を参照してください。

適用対象