Language

PrimaryKeyNameForeignKeyDiscoveryConvention クラス

定義

プリンシパル型の主キー プロパティ名と一致する名前を持つ外部キー プロパティを検出する規則。

public class PrimaryKeyNameForeignKeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
type PrimaryKeyNameForeignKeyDiscoveryConvention = class
    inherit ForeignKeyDiscoveryConvention
Public Class PrimaryKeyNameForeignKeyDiscoveryConvention
Inherits ForeignKeyDiscoveryConvention
継承
PrimaryKeyNameForeignKeyDiscoveryConvention
継承
PrimaryKeyNameForeignKeyDiscoveryConvention

コンストラクター

Name 説明
PrimaryKeyNameForeignKeyDiscoveryConvention()

プリンシパル型の主キー プロパティ名と一致する名前を持つ外部キー プロパティを検出する規則。

プロパティ

Name 説明
SupportsMultipleAssociations

規則で複数の関連付けが定義されているエンティティ型のペアがサポートされている場合は、 true を返します。

(継承元 ForeignKeyDiscoveryConvention)

メソッド

Name 説明
Apply(AssociationType, DbModel)

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

(継承元 ForeignKeyDiscoveryConvention)
MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)

dependentPropertyが外部キーの一部である必要がある場合、overriden はtrueを返します。

適用対象