Sprache

CoreStrings.DuplicateIndex(Object, Object, Object) Methode

Definition

Der Index '{indexProperties}' kann dem Entitätstyp '{entityType}' nicht hinzugefügt werden, da für die gleichen Eigenschaften bereits ein nicht benannter Index für den Entitätstyp '{duplicateEntityType}' vorhanden ist. Erwägen Sie das Hinzufügen eines Namens für einen der Indizes in "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

Parameter

indexPropertiesindex
Object
entityType
Object
duplicateEntityType
Object

Gibt zurück

Gilt für: