CoreStrings.DerivedEntityOwnershipMismatch 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.
Unable to set '{baseEntityType}' as the base type for entity type '{derivedEntityType}' because '{ownedEntityType}' is configured as owned, while '{nonOwnedEntityType}' is non-owned. All entity types in a hierarchy need to have the same ownership status. See https://aka.ms/efcore-docs-owned for more information and examples.
public static string DerivedEntityOwnershipMismatch (object? baseEntityType, object? derivedEntityType, object? ownedEntityType, object? nonOwnedEntityType);
static member DerivedEntityOwnershipMismatch : obj * obj * obj * obj -> string
Public Shared Function DerivedEntityOwnershipMismatch (baseEntityType As Object, derivedEntityType As Object, ownedEntityType As Object, nonOwnedEntityType As Object) As String
Parameters
- baseEntityType
- Object
- derivedEntityType
- Object
- ownedEntityType
- Object
- nonOwnedEntityType
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework