CoreStrings.ClashingNonOwnedDerivedEntityType(Object, Object) Method

Definition

The entity type '{entityType}' cannot be marked as owned because the derived entity type '{derivedType}' has been configured as non-owned. Either don't configure '{derivedType}' as non-owned, or call 'HasBaseType(null)' for it in 'OnModelCreating'. See https://aka.ms/efcore-docs-owned for more information and examples.

public static string ClashingNonOwnedDerivedEntityType (object entityType, object derivedType);
public static string ClashingNonOwnedDerivedEntityType (object? entityType, object? derivedType);
static member ClashingNonOwnedDerivedEntityType : obj * obj -> string
Public Shared Function ClashingNonOwnedDerivedEntityType (entityType As Object, derivedType As Object) As String

Parameters

entityType
Object
derivedType
Object

Returns

Applies to