다음을 통해 공유


PropertyAttributeConfigurationConvention<TAttribute> 클래스

정의

모델의 형식 속성에서 찾은 CLR 특성을 처리하는 규칙에 대한 기본 클래스입니다.

public abstract class PropertyAttributeConfigurationConvention<TAttribute> : System.Data.Entity.ModelConfiguration.Conventions.Convention where TAttribute : Attribute
type PropertyAttributeConfigurationConvention<'Attribute (requires 'Attribute :> Attribute)> = class
    inherit Convention
Public MustInherit Class PropertyAttributeConfigurationConvention(Of TAttribute)
Inherits Convention

형식 매개 변수

TAttribute

찾을 특성의 형식입니다.

상속
PropertyAttributeConfigurationConvention<TAttribute>
파생

설명

파생 규칙은 모델에 포함되지 않은 경우에도 지정된 특성이 있는 매핑된 형식의 모든 비정적 속성에 적용됩니다.

생성자

PropertyAttributeConfigurationConvention<TAttribute>()

PropertyAttributeConfigurationConvention<TAttribute> 클래스의 새 인스턴스를 초기화합니다.

메서드

Apply(PropertyInfo, ConventionTypeConfiguration, TAttribute)

TAttribute 형식의 특성이 적용된 속성에 이 규칙을 적용합니다.

Properties()

모델의 모든 속성에 적용되는 간단한 규칙의 구성을 시작합니다.

(다음에서 상속됨 Convention)
Properties<T>()

모델에서 지정된 형식의 모든 기본 속성에 적용되는 간단한 규칙의 구성을 시작합니다.

(다음에서 상속됨 Convention)
Types()

모델의 모든 매핑된 형식에 적용되는 간단한 규칙의 구성을 시작합니다.

(다음에서 상속됨 Convention)
Types<T>()

지정된 형식에서 파생되거나 구현되는 모델의 모든 매핑된 형식에 적용되는 간단한 규칙의 구성을 시작합니다.

(다음에서 상속됨 Convention)

적용 대상