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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för