ComplexTypeAttributeConvention 클래스

정의

가 있는 형식을 구성하는 규칙입니다 ComplexTypeAttribute.

public class ComplexTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
type ComplexTypeAttributeConvention = class
    inherit TypeAttributeConventionBase<ComplexTypeAttribute>
    interface IComplexPropertyAddedConvention
    interface IConvention
Public Class ComplexTypeAttributeConvention
Inherits TypeAttributeConventionBase(Of ComplexTypeAttribute)
Implements IComplexPropertyAddedConvention
상속
ComplexTypeAttributeConvention
구현

설명

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

생성자

ComplexTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

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

속성

Dependencies

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

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

메서드

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

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

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

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

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

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

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

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

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

적용 대상