CoreStrings.DerivedEntityOwnershipMismatch Method

Definition

Unable to set '{baseEntityType}' as the base type for entity type '{derivedEntityType}' because '{ownedEntityType}' is configured as owned, while '{nonOwnedEntityType}' is non-owned. All entity types in a hierarchy need to have the same ownership status. See https://aka.ms/efcore-docs-owned for more information and examples.

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

Parameters

baseEntityType
Object
derivedEntityType
Object
ownedEntityType
Object
nonOwnedEntityType
Object

Returns

Applies to