共用方式為


CoreStrings.NavigationlessOwnership(Object, Object) 方法

定義

'{principalEntityType}' 與 '{dependentEntityType}' 之間的關聯性無法設定為擁有權,因為沒有與擁有的類型相關聯的流覽。 擁有權一律必須有相關聯的導覽。 如需相關資訊,請參閱 https://aka.ms/efcore-docs-owned

public static string NavigationlessOwnership (object? principalEntityType, object? dependentEntityType);
static member NavigationlessOwnership : obj * obj -> string
Public Shared Function NavigationlessOwnership (principalEntityType As Object, dependentEntityType As Object) As String

參數

principalEntityType
Object
dependentEntityType
Object

傳回

適用於