CoreStrings.InconsistentOwnership(Object, Object) 方法

定义

注意

现已弃用此 API。

实体类型“{ownedEntityType}”配置为“拥有”,但实体类型“{nonOwnedEntityType}”不是。 配置所有实体类型,并定义共享“OnModelCreating”中拥有的 CLR 类型的导航。

public static string InconsistentOwnership (object ownedEntityType, object nonOwnedEntityType);
[System.Obsolete]
public static string InconsistentOwnership (object? ownedEntityType, object? nonOwnedEntityType);
static member InconsistentOwnership : obj * obj -> string
[<System.Obsolete>]
static member InconsistentOwnership : obj * obj -> string
Public Shared Function InconsistentOwnership (ownedEntityType As Object, nonOwnedEntityType As Object) As String

参数

ownedEntityType
Object
nonOwnedEntityType
Object

返回

属性

适用于