Bagikan melalui


CoreStrings.DuplicateIndex(Object, Object, Object) Metode

Definisi

Indeks {indexProperties} tidak dapat ditambahkan ke tipe entitas '{entityType}' karena indeks yang tidak diberi nama pada properti yang sama sudah ada pada tipe entitas '{duplicateEntityType}'. Pertimbangkan untuk menambahkan nama untuk salah satu indeks di 'OnModelCreating'.

public static string DuplicateIndex(object index, object entityType, object duplicateEntityType);
public static string DuplicateIndex(object indexProperties, 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 (index As Object, entityType As Object, duplicateEntityType As Object) As String
Public Shared Function DuplicateIndex (indexProperties As Object, entityType As Object, duplicateEntityType As Object) As String

Parameter

indexindexProperties
Object
entityType
Object
duplicateEntityType
Object

Mengembalikan

Berlaku untuk