語言

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

定義

{indexProperties} 無法被加入實體類型 '{entityType}',因為同一屬性上的未命名索引已存在於實體類型 '{duplicateEntityType}'' 上。 考慮在「OnModelCreating」中為其中一個索引加上名稱。

public static string DuplicateIndex(object? indexProperties, object? entityType, object? duplicateEntityType);
public static string DuplicateIndex(object index, object entityType, object duplicateEntityType);
public static string DuplicateIndex(object indexProperties, object entityType, object duplicateEntityType);
static member DuplicateIndex : obj * obj * obj -> string
static member DuplicateIndex : obj * obj * obj -> string
Public Shared Function DuplicateIndex (indexProperties As Object, entityType As Object, duplicateEntityType As Object) As String
Public Shared Function DuplicateIndex (index As Object, entityType As Object, duplicateEntityType As Object) As String

參數

indexPropertiesindex
Object
entityType
Object
duplicateEntityType
Object

傳回

適用於