共用方式為


CoreStrings.AmbiguousEndRequiredDependentNavigation 方法

定義

流覽 '{entityType}。無法視需要設定 {navigation}',因為無法判斷基礎外鍵 {foreignKeyProperties} 的相依端。 若要識別關聯性的相依端,請在 'OnModelCreating' 中設定外鍵屬性。 如需更多詳細資料,請參閱 https://go.microsoft.com/fwlink/?LinkId=724062 \(英文\)。

public static string AmbiguousEndRequiredDependentNavigation (object entityType, object navigation, object foreignKeyProperties);
public static string AmbiguousEndRequiredDependentNavigation (object? entityType, object? navigation, object? foreignKeyProperties);
static member AmbiguousEndRequiredDependentNavigation : obj * obj * obj -> string
Public Shared Function AmbiguousEndRequiredDependentNavigation (entityType As Object, navigation As Object, foreignKeyProperties As Object) As String

參數

entityType
Object
navigation
Object
foreignKeyProperties
Object

傳回

適用於