次の方法で共有


CoreStrings.AmbiguousForeignKeyPropertyCandidates メソッド

定義

'{firstDependentToPrincipalNavigationSpecification}' と '{firstPrincipalToDependentNavigationSpecification}' と '{secondDependentToPrincipalNavigationSpecification}' と '{secondPrincipalToDependentNavigationSpecification}' の両方のリレーションシップで、外部キーとして {foreignKeyProperties} を使用できます。 これを解決するには、少なくとも 1 つのリレーションシップに対して "OnModelCreating" で外部キー プロパティを明示的に構成します。

public static string AmbiguousForeignKeyPropertyCandidates (object firstDependentToPrincipalNavigationSpecification, object firstPrincipalToDependentNavigationSpecification, object secondDependentToPrincipalNavigationSpecification, object secondPrincipalToDependentNavigationSpecification, object foreignKeyProperties);
public static string AmbiguousForeignKeyPropertyCandidates (object? firstDependentToPrincipalNavigationSpecification, object? firstPrincipalToDependentNavigationSpecification, object? secondDependentToPrincipalNavigationSpecification, object? secondPrincipalToDependentNavigationSpecification, object? foreignKeyProperties);
static member AmbiguousForeignKeyPropertyCandidates : obj * obj * obj * obj * obj -> string
Public Shared Function AmbiguousForeignKeyPropertyCandidates (firstDependentToPrincipalNavigationSpecification As Object, firstPrincipalToDependentNavigationSpecification As Object, secondDependentToPrincipalNavigationSpecification As Object, secondPrincipalToDependentNavigationSpecification As Object, foreignKeyProperties As Object) As String

パラメーター

firstDependentToPrincipalNavigationSpecification
Object
firstPrincipalToDependentNavigationSpecification
Object
secondDependentToPrincipalNavigationSpecification
Object
secondPrincipalToDependentNavigationSpecification
Object
foreignKeyProperties
Object

戻り値

適用対象