CoreStrings.AmbiguousOwnedNavigation(Object, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
无法确定“{entityTypeNavigationSpecification}”和“{otherEntityType}”之间关系的所有者,因为两种类型都已标记为拥有。 手动配置所有权,或使用 [NotMapped] 属性或使用“OnModelCreating”中的“EntityTypeBuilder.Ignore”忽略相应的导航。 有关更多信息和示例,请参阅 https://aka.ms/efcore-docs-owned。
public static string AmbiguousOwnedNavigation (object entityType, object otherEntityType);
public static string AmbiguousOwnedNavigation (object entityTypeNavigationSpecification, 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 (entityType As Object, otherEntityType As Object) As String
Public Shared Function AmbiguousOwnedNavigation (entityTypeNavigationSpecification As Object, otherEntityType As Object) As String
参数
- entityTypeentityTypeNavigationSpecification
- Object
- otherEntityType
- Object