RelationalStrings.IncompatibleTableDerivedRelationship 方法

定义

无法将表“{table}”用于实体类型“{entityType}”,因为它用于实体类型“{otherEntityType}”,并且其主键之间存在关系,其中“{entityType}”是依赖项,但“{entityType}”具有映射到其他表的基实体类型。 将“{otherEntityType}”映射到其他表,或反转“{entityType}”和“{otherEntityType}”之间的关系。

public static string IncompatibleTableDerivedRelationship (object table, object entityType, object otherEntityType);
public static string IncompatibleTableDerivedRelationship (object? table, object? entityType, object? otherEntityType);
static member IncompatibleTableDerivedRelationship : obj * obj * obj -> string
Public Shared Function IncompatibleTableDerivedRelationship (table As Object, entityType As Object, otherEntityType As Object) As String

参数

table
Object
entityType
Object
otherEntityType
Object

返回

适用于