RelationalStrings.IncompatibleTableNoRelationship 方法

定义

无法将表“{table}”用于实体类型“{entityType}”,因为它用于实体类型“{otherEntityType}”和可能的其他实体类型,但没有链接关系。 向主键属性上的“{entityType}”添加外键,并指向映射到“{table}”的另一个实体类型的主键。

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

参数

table
Object
entityType
Object
otherEntityType
Object

返回

适用于