NavigationPropertyNameForeignKeyDiscoveryConvention クラス

定義

名前が依存ナビゲーション プロパティ名とプリンシパル型主キー プロパティ名の組み合わせである外部キー プロパティを検出する規約。

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

コンストラクター

名前 説明
NavigationPropertyNameForeignKeyDiscoveryConvention()

名前が依存ナビゲーション プロパティ名とプリンシパル型主キー プロパティ名の組み合わせである外部キー プロパティを検出する規約。

プロパティ

名前 説明
SupportsMultipleAssociations

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

SupportsMultipleAssociations

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

(継承元 ForeignKeyDiscoveryConvention)

メソッド

名前 説明
Apply(AssociationType, DbModel)

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

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

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

MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)

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

(継承元 ForeignKeyDiscoveryConvention)

適用対象