語言

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

傳回

適用於