NonNullableConventionBase 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
멤버 형식이 nullable이 아닌 참조 형식인지 여부에 따라 모델 측면을 구성하는 규칙의 기본 형식입니다.
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class NonNullableConventionBase
public abstract class NonNullableConventionBase : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public abstract class NonNullableConventionBase : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class NonNullableConventionBase : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type NonNullableConventionBase = class
type NonNullableConventionBase = class
interface IModelFinalizedConvention
interface IConvention
type NonNullableConventionBase = class
interface IModelFinalizingConvention
interface IConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type NonNullableConventionBase = class
interface IModelFinalizingConvention
interface IConvention
Public MustInherit Class NonNullableConventionBase
Public MustInherit Class NonNullableConventionBase
Implements IModelFinalizedConvention
Public MustInherit Class NonNullableConventionBase
Implements IModelFinalizingConvention
- 상속
-
NonNullableConventionBase
- 파생
- 특성
- 구현
설명
자세한 내용 및 예제는 모델 빌드 규칙을 참조하세요.
생성자
| 속성 | Description |
|---|---|
| NonNullableConventionBase(ProviderConventionSetBuilderDependencies) |
멤버 형식이 nullable이 아닌 참조 형식인지 여부에 따라 모델 측면을 구성하는 규칙의 기본 형식입니다. |
속성
| 속성 | Description |
|---|---|
| Dependencies |
이 서비스에 대한 종속성입니다. |
메서드
| 속성 | Description |
|---|---|
| IsNonNullableReferenceType(IConventionModelBuilder, MemberInfo) |
멤버 형식이 nullable이 아닌 참조 형식인지 여부를 나타내는 값을 반환합니다. |
| ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
모델이 완료된 후 호출됩니다. 이 규칙에 사용되는 캐시된 상태 주석을 제거합니다. |
| ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
모델을 완료할 때 호출됩니다. |
| TryGetNullabilityInfo(IConventionModelBuilder, MemberInfo, NullabilityInfo) |
멤버 형식이 nullable이 아닌 참조 형식인지 여부를 나타내는 값을 반환합니다. |