Compartir a través de


CoreStrings.DuplicateIndex(Object, Object, Object) Método

Definición

No se puede agregar el índice {indexProperties} al tipo de entidad '{entityType}' porque ya existe un índice sin nombre en las mismas propiedades en el tipo de entidad '{duplicateEntityType}'. Considere la posibilidad de agregar un nombre para uno de los índices en "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

Parámetros

indexindexProperties
Object
entityType
Object
duplicateEntityType
Object

Devoluciones

Se aplica a