CoreStrings.InconsistentOwnership(Object, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
现已弃用此 API。
实体类型“{ownedEntityType}”配置为拥有,但实体类型“{nonOwnedEntityType}”不是。 配置所有实体类型,并定义共享 CLR 类型的导航(在“OnModelCreating”中拥有)。
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
返回
- 特性