Condividi tramite


CoreStrings.DerivedEntityOwnershipMismatch Metodo

Definizione

Impossibile impostare '{baseEntityType}' come tipo di base per il tipo di entità '{derivedEntityType}' perché '{ownedEntityType}' è configurato come di proprietà, mentre '{nonOwnedEntityType}' non è di proprietà. Tutti i tipi di entità in una gerarchia devono avere lo stesso stato di proprietà. Per altre informazioni ed esempi, vedere https://aka.ms/efcore-docs-owned.

public static string DerivedEntityOwnershipMismatch (object? baseEntityType, object? derivedEntityType, object? ownedEntityType, object? nonOwnedEntityType);
static member DerivedEntityOwnershipMismatch : obj * obj * obj * obj -> string
Public Shared Function DerivedEntityOwnershipMismatch (baseEntityType As Object, derivedEntityType As Object, ownedEntityType As Object, nonOwnedEntityType As Object) As String

Parametri

baseEntityType
Object
derivedEntityType
Object
ownedEntityType
Object
nonOwnedEntityType
Object

Restituisce

Si applica a