次の方法で共有


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>

各列に注釈を作成するためのファクトリ。

属性

適用対象