다음을 통해 공유


IConventionEntityTypeMappingFragmentBuilder 인터페이스

정의

을 구성하기 위한 간단한 API를 IConventionEntityTypeMappingFragment제공합니다.

public interface IConventionEntityTypeMappingFragmentBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
type IConventionEntityTypeMappingFragmentBuilder = interface
    interface IConventionAnnotatableBuilder
Public Interface IConventionEntityTypeMappingFragmentBuilder
Implements IConventionAnnotatableBuilder
구현

설명

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

속성

Metadata

구성 중인 조각입니다.

ModelBuilder

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

(다음에서 상속됨 IConventionAnnotatableBuilder)

메서드

CanRemoveAnnotation(String, Boolean)

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

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

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

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

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

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

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

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

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

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

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

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

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

(다음에서 상속됨 IConventionAnnotatableBuilder)

적용 대상