语言

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

返回

适用于