NonNullableNavigationConvention 클래스

정의

필요에 따라 주 엔터티 형식에 대한 nullable이 아닌 탐색을 구성하는 규칙입니다.

public class NonNullableNavigationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NonNullableConventionBase, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
public class NonNullableNavigationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NonNullableConventionBase, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyPrincipalEndChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
type NonNullableNavigationConvention = class
    inherit NonNullableConventionBase
    interface INavigationAddedConvention
    interface IConvention
type NonNullableNavigationConvention = class
    inherit NonNullableConventionBase
    interface INavigationAddedConvention
    interface IConvention
    interface IForeignKeyPrincipalEndChangedConvention
Public Class NonNullableNavigationConvention
Inherits NonNullableConventionBase
Implements INavigationAddedConvention
Public Class NonNullableNavigationConvention
Inherits NonNullableConventionBase
Implements IForeignKeyPrincipalEndChangedConvention, INavigationAddedConvention
상속
NonNullableNavigationConvention
구현

설명

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

생성자

NonNullableNavigationConvention(ProviderConventionSetBuilderDependencies)

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

속성

Dependencies

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

(다음에서 상속됨 NonNullableConventionBase)

메서드

IsNonNullableReferenceType(IConventionModelBuilder, MemberInfo)

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

(다음에서 상속됨 NonNullableConventionBase)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

외래 키의 보안 주체가 변경된 후 호출됩니다.

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

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

(다음에서 상속됨 NonNullableConventionBase)
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

모델이 종료될 때 호출됩니다.

(다음에서 상속됨 NonNullableConventionBase)
ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

엔터티 형식에 탐색을 추가한 후 호출됩니다.

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

엔터티 형식에 탐색을 추가한 후 호출됩니다.

TryGetNullabilityInfo(IConventionModelBuilder, MemberInfo, NullabilityInfo)

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

(다음에서 상속됨 NonNullableConventionBase)

적용 대상