Aracılığıyla paylaş


CoreStrings.AmbiguousForeignKeyPropertyCandidates Yöntem

Tanım

'{firstDependentToPrincipalNavigationSpecification}' ve '{firstPrincipalToDependentNavigationSpecification}' ile '{secondDependentToPrincipalNavigationSpecification}' ile '{secondPrincipalToDependentNavigationSpecification}' arasındaki her iki ilişki de yabancı anahtar olarak {foreignKeyProperties} kullanabilir. Bu sorunu çözmek için, ilişkilerin en az birinde 'OnModelCreating' içinde yabancı anahtar özelliklerini açıkça yapılandırın.

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

Parametreler

firstDependentToPrincipalNavigationSpecification
Object
firstPrincipalToDependentNavigationSpecification
Object
secondDependentToPrincipalNavigationSpecification
Object
secondPrincipalToDependentNavigationSpecification
Object
foreignKeyProperties
Object

Döndürülenler

Şunlara uygulanır