다음을 통해 공유


TypeAttributeConventionBase<TAttribute> 클래스

정의

구조적 형식에 지정된 특성에 따라 구성을 수행하는 규칙에 대한 기본 형식입니다.

public abstract class TypeAttributeConventionBase<TAttribute> : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention where TAttribute : Attribute
type TypeAttributeConventionBase<'Attribute (requires 'Attribute :> Attribute)> = class
    interface IEntityTypeAddedConvention
    interface IConvention
Public MustInherit Class TypeAttributeConventionBase(Of TAttribute)
Implements IEntityTypeAddedConvention

형식 매개 변수

TAttribute

찾을 특성 형식입니다.

상속
TypeAttributeConventionBase<TAttribute>
파생
구현

설명

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

생성자

TypeAttributeConventionBase<TAttribute>(ProviderConventionSetBuilderDependencies)

TypeAttributeConventionBase<TAttribute>의 새 인스턴스를 만듭니다.

속성

Dependencies

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

메서드

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

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

적용 대상