共用方式為


CoreStrings.DuplicateKey(Object, Object, Object) 方法

定義

索引鍵 {keyProperties} 無法新增至實體類型 '{entityType}',因為相同屬性上的索引鍵已存在於實體類型 '{duplicateEntityType}' 上。

public static string DuplicateKey (object key, object entityType, object duplicateEntityType);
public static string DuplicateKey (object keyProperties, object entityType, object duplicateEntityType);
public static string DuplicateKey (object? keyProperties, object? entityType, object? duplicateEntityType);
static member DuplicateKey : obj * obj * obj -> string
static member DuplicateKey : obj * obj * obj -> string
Public Shared Function DuplicateKey (key As Object, entityType As Object, duplicateEntityType As Object) As String
Public Shared Function DuplicateKey (keyProperties As Object, entityType As Object, duplicateEntityType As Object) As String

參數

keykeyProperties
Object
entityType
Object
duplicateEntityType
Object

傳回

適用於