CoreStrings.DerivedEntityOwnershipMismatch 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
无法将“{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