次の方法で共有


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()

規則の新しいインスタンスを構築します。

メソッド

Properties()

モデル内のすべてのプロパティに適用される軽量規則の構成を開始します。

(継承元 Convention)
Properties<T>()

モデル内の指定した型のすべてのプリミティブ プロパティに適用される軽量規則の構成を開始します。

(継承元 Convention)
Types()

モデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。

(継承元 Convention)
Types<T>()

指定した型から派生または実装するモデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。

(継承元 Convention)

適用対象