NotMappedMemberAttributeConvention 클래스

정의

가 있는 엔터티 형식의 멤버를 무시하는 규칙입니다 NotMappedAttribute.

public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
type NotMappedMemberAttributeConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
type NotMappedMemberAttributeConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IComplexPropertyAddedConvention
Public Class NotMappedMemberAttributeConvention
Implements IEntityTypeAddedConvention
Public Class NotMappedMemberAttributeConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention
상속
NotMappedMemberAttributeConvention
구현

설명

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

생성자

NotMappedMemberAttributeConvention(ProviderConventionSetBuilderDependencies)

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

속성

Dependencies

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

메서드

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

복합 속성이 형식과 유사한 개체에 추가된 후 호출됩니다.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

엔터티 형식이 모델에 추가된 후 호출됩니다.

ShouldIgnore(MemberInfo)

지정된 CLR 멤버를 무시해야 하는지 여부를 나타내는 값을 반환합니다.

적용 대상