다음을 통해 공유


IndexAttributeConvention 클래스

정의

속성의 특성을 검색하고 IndexAttribute 모델에서 열 주석을 생성하기 IndexAnnotation 위한 규칙입니다.

public class IndexAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.AttributeToColumnAnnotationConvention<System.ComponentModel.DataAnnotations.Schema.IndexAttribute,System.Data.Entity.Infrastructure.Annotations.IndexAnnotation>
type IndexAttributeConvention = class
    inherit AttributeToColumnAnnotationConvention<IndexAttribute, IndexAnnotation>
Public Class IndexAttributeConvention
Inherits AttributeToColumnAnnotationConvention(Of IndexAttribute, IndexAnnotation)
상속

생성자

IndexAttributeConvention()

규칙의 새 instance 생성합니다.

메서드

Properties()

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

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

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

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

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

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

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

(다음에서 상속됨 Convention)

적용 대상