CoreStrings.InconsistentOwnership(Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
此 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
傳回
- 屬性