Language

OneToOneConstraintIntroductionConvention クラス

定義

1 対 1 のリレーションシップで、依存エンティティ型の主キーを外部キーとして構成する規則。

public class OneToOneConstraintIntroductionConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.AssociationType>
type OneToOneConstraintIntroductionConvention = class
    interface IConceptualModelConvention<AssociationType>
    interface IConvention
Public Class OneToOneConstraintIntroductionConvention
Implements IConceptualModelConvention(Of AssociationType)
継承
OneToOneConstraintIntroductionConvention
実装

コンストラクター

Name 説明
OneToOneConstraintIntroductionConvention()

1 対 1 のリレーションシップで、依存エンティティ型の主キーを外部キーとして構成する規則。

メソッド

Name 説明
Apply(AssociationType, DbModel)

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

適用対象