CoreStrings.DerivedEntityOwnershipMismatch 方法

定义

无法将“{baseEntityType}”设置为实体类型“{derivedEntityType}”的基类型,因为“{ownedEntityType}”配置为拥有,而“{nonOwnedEntityType}”是非拥有的。 层次结构中的所有实体类型都需要具有相同的所有权状态。 有关更多信息和示例,请参阅 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

参数

baseEntityType
Object
derivedEntityType
Object
ownedEntityType
Object
nonOwnedEntityType
Object

返回

适用于