CoreStrings.ClashingOwnedEntityType(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 configured as non-owned because it has already been configured as a owned. Use the nested builder in OwnsOne
or OwnsMany
on the owner entity type builder to further configure this type. If you want to override previous configuration first remove the entity type from the model by calling 'Ignore'. See https://aka.ms/efcore-docs-owned for more information and examples.
public static string ClashingOwnedEntityType (object entityType);
public static string ClashingOwnedEntityType (object? entityType);
static member ClashingOwnedEntityType : obj -> string
Public Shared Function ClashingOwnedEntityType (entityType As Object) As String
Parameters
- entityType
- 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