Sdílet prostřednictvím


CoreStrings.DuplicateIndex(Object, Object, Object) Metoda

Definice

Index {indexProperties} nelze přidat do typu entity {entityType}, protože u typu entity {duplicateEntityType} již existuje nepojmenovaný index stejných vlastností. Zvažte přidání názvu pro jeden z indexů v souboru 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

Parametry

indexindexProperties
Object
entityType
Object
duplicateEntityType
Object

Návraty

Platí pro