共用方式為


CoreStrings.InconsistentOwnership(Object, Object) 方法

定義

警告

此 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

傳回

屬性

適用於