다음을 통해 공유


AttributeToTableAnnotationConvention<TAttribute,TAnnotation> 생성자

정의

지정된 이름을 사용하여 지정된 팩터리 대리자를 사용하여 테이블 주석을 만드는 규칙을 생성합니다.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public AttributeToTableAnnotationConvention(string annotationName, Func<Type,System.Collections.Generic.IList<TAttribute>,TAnnotation> annotationFactory);
new System.Data.Entity.ModelConfiguration.Conventions.AttributeToTableAnnotationConvention<'Attribute, 'Annotation (requires 'Attribute :> Attribute)> : string * Func<Type, System.Collections.Generic.IList<'Attribute>, 'Annotation> -> System.Data.Entity.ModelConfiguration.Conventions.AttributeToTableAnnotationConvention<'Attribute, 'Annotation (requires 'Attribute :> Attribute)>
Public Sub New (annotationName As String, annotationFactory As Func(Of Type, IList(Of TAttribute), TAnnotation))

매개 변수

annotationName
String

만들 주석의 이름입니다.

annotationFactory
Func<Type,IList<TAttribute>,TAnnotation>

각 테이블에 주석을 만들기 위한 팩터리입니다.

특성

적용 대상