다음을 통해 공유


IConventionPropertyBaseBuilder<TBuilder> 인터페이스

정의

규칙에서 을 IConventionPropertyBase 구성하기 위한 간단한 API 표면을 제공합니다.

이 인터페이스는 일반적으로 데이터베이스 공급자(및 기타 확장)에서 사용됩니다. 일반적으로 애플리케이션 코드에는 사용되지 않습니다.

public interface IConventionPropertyBaseBuilder<TBuilder> : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder where TBuilder : IConventionPropertyBaseBuilder<TBuilder>
type IConventionPropertyBaseBuilder<'Builder (requires 'Builder :> IConventionPropertyBaseBuilder<'Builder>)> = interface
    interface IConventionAnnotatableBuilder
Public Interface IConventionPropertyBaseBuilder(Of TBuilder)
Implements IConventionAnnotatableBuilder

형식 매개 변수

TBuilder
파생
구현

설명

자세한 내용 및 예제는 모델 빌드 규칙을 참조하세요.

속성

Metadata

구성되는 속성과 유사한 개체를 가져옵니다.

ModelBuilder

모델 작성기를 가져옵니다.

(다음에서 상속됨 IConventionAnnotatableBuilder)

메서드

CanRemoveAnnotation(String, Boolean)

이 구성 원본을 사용하여 지정된 이름의 주석을 제거할 수 있는지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 IConventionAnnotatableBuilder)
CanSetAnnotation(String, Object, Boolean)

지정된 이름과 값을 가진 주석을 이 구성 원본에서 설정할 수 있는지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 IConventionAnnotatableBuilder)
CanSetField(FieldInfo, Boolean)

현재 구성 원본에서 이 속성과 유사한 개체에 대해 지원 필드를 설정할 수 있는지 여부를 나타내는 값을 반환합니다.

CanSetField(String, Boolean)

현재 구성 원본에서 이 속성과 유사한 개체에 대해 지원 필드를 설정할 수 있는지 여부를 나타내는 값을 반환합니다.

CanSetPropertyAccessMode(Nullable<PropertyAccessMode>, Boolean)

현재 구성 원본에서 이 속성과 유사한 개체에 대해 를 설정할 수 있는지 여부를 PropertyAccessMode 나타내는 값을 반환합니다.

HasAnnotation(String, Object, Boolean)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 동일하거나 낮은 ConfigurationSource에 있는 경우 기존 주석을 덮어씁니다.

HasField(FieldInfo, Boolean)

이 속성과 유사한 개체에 사용할 지원 필드를 설정합니다.

HasField(String, Boolean)

이 속성과 유사한 개체에 사용할 지원 필드를 설정합니다.

HasNoAnnotation(String, Boolean)

이 개체에서 지정된 이름의 주석을 제거합니다.

HasNonNullAnnotation(String, Object, Boolean)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 동일하거나 낮은 ConfigurationSource에 있는 경우 기존 주석을 덮어씁니다. 값이 지정된 경우 null 주석을 제거합니다.

RemoveAnnotation(String, Boolean)
사용되지 않습니다.

이 개체에서 지정된 이름의 주석을 제거합니다.

(다음에서 상속됨 IConventionAnnotatableBuilder)
SetOrRemoveAnnotation(String, Object, Boolean)
사용되지 않습니다.

지정된 이름 아래에 저장된 주석을 설정하거나 제거합니다.

(다음에서 상속됨 IConventionAnnotatableBuilder)
UsePropertyAccessMode(Nullable<PropertyAccessMode>, Boolean)

PropertyAccessMode 이 속성과 유사한 개체에 사용할 를 설정합니다.

적용 대상