Share via


RelationalComplexTypePropertyBuilderExtensions.HasColumnType 메서드

정의

오버로드

HasColumnType(ComplexTypePropertyBuilder, String)

관계형 데이터베이스를 대상으로 할 때 속성이 매핑하는 열의 데이터 형식을 구성합니다. 전체 형식 이름(정밀도, 배율, 길이 등)이어야 합니다.

HasColumnType<TProperty>(ComplexTypePropertyBuilder<TProperty>, String)

관계형 데이터베이스를 대상으로 할 때 속성이 매핑하는 열의 데이터 형식을 구성합니다. 전체 형식 이름(정밀도, 배율, 길이 등)이어야 합니다.

HasColumnType(ComplexTypePropertyBuilder, String)

관계형 데이터베이스를 대상으로 할 때 속성이 매핑하는 열의 데이터 형식을 구성합니다. 전체 형식 이름(정밀도, 배율, 길이 등)이어야 합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder HasColumnType (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder propertyBuilder, string? typeName);
static member HasColumnType : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder
<Extension()>
Public Function HasColumnType (propertyBuilder As ComplexTypePropertyBuilder, typeName As String) As ComplexTypePropertyBuilder

매개 변수

propertyBuilder
ComplexTypePropertyBuilder

구성 중인 속성에 대한 작성기입니다.

typeName
String

열의 데이터 형식 이름입니다.

반환

동일한 작성기가 여러 호출을 연결할 수 있도록 instance.

설명

자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 을 참조하세요.

적용 대상

HasColumnType<TProperty>(ComplexTypePropertyBuilder<TProperty>, String)

관계형 데이터베이스를 대상으로 할 때 속성이 매핑하는 열의 데이터 형식을 구성합니다. 전체 형식 이름(정밀도, 배율, 길이 등)이어야 합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> HasColumnType<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> propertyBuilder, string? typeName);
static member HasColumnType : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property>
<Extension()>
Public Function HasColumnType(Of TProperty) (propertyBuilder As ComplexTypePropertyBuilder(Of TProperty), typeName As String) As ComplexTypePropertyBuilder(Of TProperty)

형식 매개 변수

TProperty

구성되는 속성의 형식입니다.

매개 변수

propertyBuilder
ComplexTypePropertyBuilder<TProperty>

구성 중인 속성에 대한 작성기입니다.

typeName
String

열의 데이터 형식 이름입니다.

반환

동일한 작성기가 여러 호출을 연결할 수 있도록 instance.

설명

자세한 내용 과 예제는 엔터티 형식 및 관계 모델링 을 참조하세요.

적용 대상