Language

KeyDiscoveryConvention クラス

定義

主キーのプロパティを検出する規則の基本クラス。

public abstract class KeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.EntityType>
type KeyDiscoveryConvention = class
    interface IConceptualModelConvention<EntityType>
    interface IConvention
Public MustInherit Class KeyDiscoveryConvention
Implements IConceptualModelConvention(Of EntityType)
継承
KeyDiscoveryConvention
派生
実装

コンストラクター

Name 説明
KeyDiscoveryConvention()

主キーのプロパティを検出する規則の基本クラス。

メソッド

Name 説明
Apply(EntityType, DbModel)

この規則をモデル内の項目に適用します。

MatchKeyProperty(EntityType, IEnumerable<EdmProperty>)

overriden は、主キーの一部となるプロパティのサブセットを返します。

適用対象