CoreStrings.ClashingNonOwnedDerivedEntityType(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for