次の方法で共有


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
実装

コンストラクター

OneToOneConstraintIntroductionConvention()

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

メソッド

Apply(AssociationType, DbModel)

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

適用対象