다음을 통해 공유


AttributeToColumnAnnotationConvention<TAttribute,TAnnotation> 생성자

정의

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

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

매개 변수

annotationName
String

만들 주석의 이름입니다.

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

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

특성

적용 대상