語言

CoreStrings.AmbiguousEndRequiredDependent(Object, Object) 方法

定義

實體類型為「{entityType}」的外鍵 {foreignKeyProperties} 無法設定為必須的依賴項,因為無法確定依賴端。 要識別關係的依賴端,請在「OnModelCreating」中設定外鍵屬性。 如需詳細資訊,請參閱 https://go.microsoft.com/fwlink/?LinkId=724062。

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

參數

foreignKeyProperties
Object
entityType
Object

傳回

適用於