CoreStrings.AmbiguousOwnedNavigation(Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
無法確定「{entityTypeNavigationSpecification}' 與 '{otherEntityType}' 之間關係的擁有者,因為這兩種類型都被標記為擁有。 你可以手動設定擁有權,或是用 [NotMapped] 屬性忽略對應的導航,或是在 “OnModelCreating” 裡使用 'EntityTypeBuilder.Ignore' 來操作。 如需詳細資訊和範例,請參閱 https://aka.ms/efcore-docs-owned。
public static string AmbiguousOwnedNavigation(object? entityTypeNavigationSpecification, object? otherEntityType);
public static string AmbiguousOwnedNavigation(object entityType, object otherEntityType);
public static string AmbiguousOwnedNavigation(object entityTypeNavigationSpecification, object otherEntityType);
static member AmbiguousOwnedNavigation : obj * obj -> string
static member AmbiguousOwnedNavigation : obj * obj -> string
Public Shared Function AmbiguousOwnedNavigation (entityTypeNavigationSpecification As Object, otherEntityType As Object) As String
Public Shared Function AmbiguousOwnedNavigation (entityType As Object, otherEntityType As Object) As String
參數
- entityTypeNavigationSpecificationentityType
- Object
- otherEntityType
- Object