CoreStrings.AmbiguousEndRequiredDependent(Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
實體類型為「{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