다음을 통해 공유


RelationalComplexTypePropertyBuilderExtensions.IsFixedLength 메서드

정의

오버로드

IsFixedLength(ComplexTypePropertyBuilder, Boolean)

문자열과 같은 고정 길이 데이터만 저장할 수 있는 속성으로 구성합니다.

IsFixedLength<TProperty>(ComplexTypePropertyBuilder<TProperty>, Boolean)

문자열과 같은 고정 길이 데이터만 저장할 수 있는 속성으로 구성합니다.

IsFixedLength(ComplexTypePropertyBuilder, Boolean)

문자열과 같은 고정 길이 데이터만 저장할 수 있는 속성으로 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder propertyBuilder, bool fixedLength = true);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder
<Extension()>
Public Function IsFixedLength (propertyBuilder As ComplexTypePropertyBuilder, Optional fixedLength As Boolean = true) As ComplexTypePropertyBuilder

매개 변수

propertyBuilder
ComplexTypePropertyBuilder

구성되는 속성에 대한 작성기입니다.

fixedLength
Boolean

속성이 고정 길이 값으로 제한되는지 여부를 나타내는 값입니다.

반환

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

설명

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

적용 대상

IsFixedLength<TProperty>(ComplexTypePropertyBuilder<TProperty>, Boolean)

문자열과 같은 고정 길이 데이터만 저장할 수 있는 속성으로 구성합니다.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> IsFixedLength<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<TProperty> propertyBuilder, bool fixedLength = true);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder<'Property>
<Extension()>
Public Function IsFixedLength(Of TProperty) (propertyBuilder As ComplexTypePropertyBuilder(Of TProperty), Optional fixedLength As Boolean = true) As ComplexTypePropertyBuilder(Of TProperty)

형식 매개 변수

TProperty

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

매개 변수

propertyBuilder
ComplexTypePropertyBuilder<TProperty>

구성되는 속성에 대한 작성기입니다.

fixedLength
Boolean

속성이 고정 길이 값으로 제한되는지 여부를 나타내는 값입니다.

반환

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

설명

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

적용 대상