다음을 통해 공유


TypeAttributeConfigurationConvention<TAttribute> 클래스

정의

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1005:AvoidExcessiveParametersOnGenericTypes")]
public abstract class TypeAttributeConfigurationConvention<TAttribute> : System.Data.Entity.ModelConfiguration.Conventions.Convention where TAttribute : Attribute
type TypeAttributeConfigurationConvention<'Attribute (requires 'Attribute :> Attribute)> = class
    inherit Convention
Public MustInherit Class TypeAttributeConfigurationConvention(Of TAttribute)
Inherits Convention

형식 매개 변수

TAttribute

찾을 특성의 형식입니다.

상속
TypeAttributeConfigurationConvention<TAttribute>
파생
특성

생성자

TypeAttributeConfigurationConvention<TAttribute>()

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

메서드

Apply(ConventionTypeConfiguration, TAttribute)

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

Properties()

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

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

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

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

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

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

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

(다음에서 상속됨 Convention)

적용 대상