共用方式為


CoreStrings.InconsistentInheritance Method

Definition

Overloads

InconsistentInheritance(Object, Object)

The entity type '{entityType}' should derive from '{baseEntityType}' to reflect the hierarchy of the corresponding CLR types.

InconsistentInheritance(Object, Object, Object)

The entity type '{entityType}' is configured as derived from '{baseEntityType}', however according to the hierarchy of the corresponding CLR types it should derive from '{clrBaseEntityType}'. Configure '{entityType}' having either '{baseEntityType}' or 'null' as the base type.

InconsistentInheritance(Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

The entity type '{entityType}' should derive from '{baseEntityType}' to reflect the hierarchy of the corresponding CLR types.

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

Parameters

entityType
Object
baseEntityType
Object

Returns

Applies to

InconsistentInheritance(Object, Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

The entity type '{entityType}' is configured as derived from '{baseEntityType}', however according to the hierarchy of the corresponding CLR types it should derive from '{clrBaseEntityType}'. Configure '{entityType}' having either '{baseEntityType}' or 'null' as the base type.

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

Parameters

entityType
Object
baseEntityType
Object
clrBaseEntityType
Object

Returns

Applies to