IndexAttributeConvention クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プロパティの属性を検出し 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
コンストラクター
IndexAttributeConvention() |
規則の新しいインスタンスを構築します。 |
メソッド
Properties() |
モデル内のすべてのプロパティに適用される軽量規則の構成を開始します。 (継承元 Convention) |
Properties<T>() |
モデル内の指定した型のすべてのプリミティブ プロパティに適用される軽量規則の構成を開始します。 (継承元 Convention) |
Types() |
モデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。 (継承元 Convention) |
Types<T>() |
指定した型から派生または実装するモデル内のすべてのマップされた型に適用される軽量規則の構成を開始します。 (継承元 Convention) |
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework