RelationalStrings.IncompatibleTableNoRelationship 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表格 '{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