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