語言

CoreStrings.InconsistentOwnership(Object, Object) 方法

定義

警告

此 API 現已淘汰。

實體類型 '{ownedEntityType}' 被設定為擁有,但實體類型 '{nonOwnedEntityType}' 則不是。 將所有實體類型配置為與 CLR 共享的導航類型,並以 'OnModelCreating' 擁有的 CRR 類型為單位。

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

傳回

屬性

適用於