언어

PropertyDiscoveryConvention 클래스

정의

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
PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

PropertyDiscoveryConvention새 인스턴스를 생성합니다.

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

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>)

엔터티 형식의 기본 형식이 변경된 후 호출됩니다.

적용 대상