다음을 통해 공유


RelationalPropertyBuilderExtensions.IsFixedLength 메서드

정의

오버로드

IsFixedLength(PropertyBuilder, Boolean)

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

IsFixedLength(IConventionPropertyBuilder, Nullable<Boolean>, Boolean)

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

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

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

IsFixedLength(PropertyBuilder, Boolean)

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

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

매개 변수

propertyBuilder
PropertyBuilder

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

fixedLength
Boolean

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

반환

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

설명

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

적용 대상

IsFixedLength(IConventionPropertyBuilder, Nullable<Boolean>, Boolean)

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

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, bool? fixedLength, bool fromDataAnnotation = false);
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder? IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, bool? fixedLength, bool fromDataAnnotation = false);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder
<Extension()>
Public Function IsFixedLength (propertyBuilder As IConventionPropertyBuilder, fixedLength As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBuilder

매개 변수

propertyBuilder
IConventionPropertyBuilder

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

fixedLength
Nullable<Boolean>

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

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

구성이 적용 null 된 경우 동일한 작성기가 instance. 그렇지 않으면 입니다.

설명

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

적용 대상

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

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

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

형식 매개 변수

TProperty

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

매개 변수

propertyBuilder
PropertyBuilder<TProperty>

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

fixedLength
Boolean

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

반환

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

설명

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

적용 대상