Language

NavigationPropertyNameForeignKeyDiscoveryConvention クラス

定義

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

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

コンストラクター

Name 説明
NavigationPropertyNameForeignKeyDiscoveryConvention()

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

プロパティ

Name 説明
SupportsMultipleAssociations

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

メソッド

Name 説明
Apply(AssociationType, DbModel)

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

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

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

適用対象