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

返回

适用于