PropertyDiscoveryConvention 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
CLR 형식의 스칼라 공용 속성에 해당하는 엔터티 형식에 속성을 추가하는 규칙입니다.
[System.Runtime.CompilerServices.Nullable(0)]
public class PropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
public class PropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type PropertyDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
interface IComplexPropertyAddedConvention
type PropertyDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
Public Class PropertyDiscoveryConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
Public Class PropertyDiscoveryConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
- 상속
-
PropertyDiscoveryConvention
- 특성
- 구현
설명
자세한 내용 및 예제는 모델 빌드 규칙을 참조하세요.
생성자
속성
| 속성 | Description |
|---|---|
| Dependencies |
이 서비스에 대한 종속성입니다. |
| UseAttributes |
규칙에서 멤버에 있는 특성을 사용할지 여부를 나타내는 값입니다. |
메서드
| 속성 | Description |
|---|---|
| DiscoverPrimitiveProperties(IConventionTypeBaseBuilder, IConventionContext) |
지정된 구조 형식의 속성을 검색합니다. |
| GetMembers(IConventionTypeBase) |
속성을 검색할 때 고려해야 하는 지정된 형식의 CLR 멤버를 반환합니다. |
| IsCandidatePrimitiveProperty(MemberInfo, IConventionTypeBase, CoreTypeMapping, Type) |
지정된 멤버가 기본 속성 후보인지 여부를 나타내는 값을 반환합니다. |
| IsCandidatePrimitiveProperty(MemberInfo, IConventionTypeBase, CoreTypeMapping) |
지정된 멤버가 기본 속성 후보인지 여부를 나타내는 값을 반환합니다. |
| ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>) |
복합 속성이 형식과 유사한 개체에 추가된 후 호출됩니다. |
| ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>) |
엔터티 형식이 모델에 추가된 후 호출됩니다. |
| ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>) |
엔터티 형식의 기본 형식이 변경된 후 호출됩니다. |