Dil

CoreStrings.DerivedEntityOwnershipMismatch Yöntem

Tanım

'{ownedEntityType}' sahipli olarak yapılandırıldığından '{baseEntityType}' '{derivedEntityType}' varlık türünün temel türü olarak ayarlanamıyor, ancak '{nonOwnedEntityType}' sahip değil. Hiyerarşideki tüm varlık türlerinin aynı sahiplik durumuna sahip olması gerekir. Daha fazla bilgi ve örnek için bkz. https://aka.ms/efcore-docs-owned.

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

Parametreler

baseEntityType
Object
derivedEntityType
Object
ownedEntityType
Object
nonOwnedEntityType
Object

Döndürülenler

Şunlara uygulanır