MigrationsSqlGenerator.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 virtual void ColumnDefinition (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void ColumnDefinition (Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member ColumnDefinition : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.ColumnDefinition : Microsoft.EntityFrameworkCore.Migrations.Operations.AddColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable 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 virtual 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 virtual void ColumnDefinition (string? schema, string table, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member ColumnDefinition : string * string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.ColumnDefinition : string * string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable 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 virtual 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);
abstract member 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
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 Overridable 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>

열에 유니코드 데이터를 포함할 수 있는지 여부 또는 null 이 데이터를 적용할 수 없는지 여부를 나타냅니다.

maxLength
Nullable<Int32>

열에 포함될 수 있는 최대 데이터 양이거나 null , 적용할 수 없거나 지정되지 않은 경우 입니다.

rowVersion
Boolean

이 열이 SQL Server 타임스탬프/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 virtual 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);
abstract member 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
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 Overridable 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>

열에 유니코드 데이터를 포함할 수 있는지 여부 또는 null 이 데이터를 적용할 수 없는지 여부를 나타냅니다.

maxLength
Nullable<Int32>

열에 포함될 수 있는 최대 데이터 양이거나 null , 적용할 수 없거나 지정되지 않은 경우 입니다.

fixedLength
Nullable<Boolean>

열이 고정 길이 데이터로 제한되는지 여부를 나타냅니다.

rowVersion
Boolean

이 열이 SQL Server 타임스탬프/rowversion과 같은 자동 동시성 토큰인지 여부를 나타냅니다.

nullable
Boolean

열에서 값을 저장할 NULL 수 있는지 여부를 나타냅니다.

defaultValue
Object

열의 기본값입니다.

defaultValueSql
String

열의 기본 제약 조건에 사용할 SQL 식입니다.

computedColumnSql
String

열 값을 계산하는 데 사용할 SQL 식입니다.

annotatable
IAnnotatable

MigrationOperation 사용자 지정 주석을 찾는 데 사용할 입니다.

model
IModel

모델이 없는 작업이 있는 경우일 null 수 있는 대상 모델입니다.

builder
MigrationCommandListBuilder

SQL 조각을 추가하는 데 사용할 명령 작성기입니다.

적용 대상