NonNullableConventionBase 클래스

정의

멤버 형식이 nullable이 아닌 참조 형식인지 여부에 따라 모델 측면을 구성하는 규칙의 기본 형식입니다.

public abstract class NonNullableConventionBase : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public abstract class NonNullableConventionBase : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type NonNullableConventionBase = class
    interface IModelFinalizedConvention
    interface IConvention
type NonNullableConventionBase = class
    interface IModelFinalizingConvention
    interface IConvention
Public MustInherit Class NonNullableConventionBase
Implements IModelFinalizedConvention
Public MustInherit Class NonNullableConventionBase
Implements IModelFinalizingConvention
상속
NonNullableConventionBase
파생
구현

설명

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

생성자

NonNullableConventionBase(ProviderConventionSetBuilderDependencies)

NonNullableConventionBase의 새 인스턴스를 만듭니다.

속성

Dependencies

이 서비스에 대한 종속성입니다.

메서드

IsNonNullableReferenceType(IConventionModelBuilder, MemberInfo)

멤버 형식이 nullable이 아닌 참조 형식인지 여부를 나타내는 값을 반환합니다.

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델이 완료된 후 호출됩니다. 이 규칙에서 사용하는 캐시된 상태 주석을 제거합니다.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델을 완료할 때 호출됩니다.

TryGetNullabilityInfo(IConventionModelBuilder, MemberInfo, NullabilityInfo)

멤버 형식이 nullable이 아닌 참조 형식인지 여부를 나타내는 값을 반환합니다.

적용 대상