CoreStrings.InconsistentInheritance 方法

定义

重载

InconsistentInheritance(Object, Object)

实体类型“{entityType}”应派生自“{baseEntityType}”,以反映相应 CLR 类型的层次结构。

InconsistentInheritance(Object, Object, Object)

实体类型“{entityType}”配置为派生自“{baseEntityType}”,但根据相应 CLR 类型的层次结构,它应派生自“{clrBaseEntityType}”。 配置“{entityType}”,将“{baseEntityType}”或“null”作为基类型。

InconsistentInheritance(Object, Object)

实体类型“{entityType}”应派生自“{baseEntityType}”,以反映相应 CLR 类型的层次结构。

public static string InconsistentInheritance (object entityType, object baseEntityType);
static member InconsistentInheritance : obj * obj -> string
Public Shared Function InconsistentInheritance (entityType As Object, baseEntityType As Object) As String

参数

entityType
Object
baseEntityType
Object

返回

适用于

InconsistentInheritance(Object, Object, Object)

实体类型“{entityType}”配置为派生自“{baseEntityType}”,但根据相应 CLR 类型的层次结构,它应派生自“{clrBaseEntityType}”。 配置“{entityType}”,将“{baseEntityType}”或“null”作为基类型。

public static string InconsistentInheritance (object? entityType, object? baseEntityType, object? clrBaseEntityType);
static member InconsistentInheritance : obj * obj * obj -> string
Public Shared Function InconsistentInheritance (entityType As Object, baseEntityType As Object, clrBaseEntityType As Object) As String

参数

entityType
Object
baseEntityType
Object
clrBaseEntityType
Object

返回

适用于