다음을 통해 공유


NotMappedTypeAttributeConvention 클래스

정의

가 있는 엔터티 형식을 무시하는 규칙입니다 NotMappedAttribute.

public class NotMappedTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute>
type NotMappedTypeAttributeConvention = class
    inherit TypeAttributeConventionBase<NotMappedAttribute>
Public Class NotMappedTypeAttributeConvention
Inherits TypeAttributeConventionBase(Of NotMappedAttribute)
상속
NotMappedTypeAttributeConvention

설명

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

생성자

NotMappedTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

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

속성

Dependencies

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

(다음에서 상속됨 TypeAttributeConventionBase<TAttribute>)

메서드

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

(다음에서 상속됨 TypeAttributeConventionBase<TAttribute>)
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

특성이 있는 경우 복합 형식이 모델에 추가된 후 호출됩니다.

(다음에서 상속됨 TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

(다음에서 상속됨 TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, NotMappedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

특성이 있는 경우 엔터티 형식이 모델에 추가된 후 호출됩니다.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

특성이 있는 경우 엔터티 형식이 모델에 추가된 후 호출됩니다.

(다음에서 상속됨 TypeAttributeConventionBase<TAttribute>)
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

복합 형식을 엔터티 형식으로 바꾸려고 시도합니다.

(다음에서 상속됨 TypeAttributeConventionBase<TAttribute>)

적용 대상