RelationalStrings.IncompatibleTableKeyNameMismatch 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
無法針對實體類型 '{entityType}' 使用資料表 '{table}',因為它正用於實體類型 '{otherEntityType}',而主鍵 {primaryKey} 的名稱 '{keyName}' 與主鍵 {otherPrimaryKey} 的名稱 '{otherName}' 不符。
public static string IncompatibleTableKeyNameMismatch (object table, object entityType, object otherEntityType, object keyName, object primaryKey, object otherName, object otherPrimaryKey);
public static string IncompatibleTableKeyNameMismatch (object? table, object? entityType, object? otherEntityType, object? keyName, object? primaryKey, object? otherName, object? otherPrimaryKey);
static member IncompatibleTableKeyNameMismatch : obj * obj * obj * obj * obj * obj * obj -> string
Public Shared Function IncompatibleTableKeyNameMismatch (table As Object, entityType As Object, otherEntityType As Object, keyName As Object, primaryKey As Object, otherName As Object, otherPrimaryKey As Object) As String
參數
- table
- Object
- entityType
- Object
- otherEntityType
- Object
- keyName
- Object
- primaryKey
- Object
- otherName
- Object
- otherPrimaryKey
- Object