CoreStrings.ClashingOwnedDerivedEntityType(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 non-owned because the derived entity type '{derivedType}' has been configured as owned. Either don't configure '{derivedType}' as owned, or call 'HasBaseType(null)' for it in 'OnModelCreating'. See https://aka.ms/efcore-docs-owned for more information and examples.
public static string ClashingOwnedDerivedEntityType (object? entityType, object? derivedType);
static member ClashingOwnedDerivedEntityType : obj * obj -> string
Public Shared Function ClashingOwnedDerivedEntityType (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