次の方法で共有


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>

各テーブルに注釈を作成するためのファクトリ。

属性

適用対象