Język

CoreStrings.DerivedEntityOwnershipMismatch Metoda

Definicja

Nie można ustawić parametru "{baseEntityType}" jako typu podstawowego dla typu jednostki "{derivedEntityType}", ponieważ właściwość {ownedEntityType} jest skonfigurowana jako własność, podczas gdy typ {nonOwnedEntityType} nie jest własnością. Wszystkie typy jednostek w hierarchii muszą mieć ten sam stan własności. Zobacz https://aka.ms/efcore-docs-owned , aby uzyskać więcej informacji i przykładów.

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

Parametry

baseEntityType
Object
derivedEntityType
Object
ownedEntityType
Object
nonOwnedEntityType
Object

Zwraca

Dotyczy