次の方法で共有


CoreStrings.DuplicateIndex(Object, Object, Object) メソッド

定義

同じプロパティの名前のないインデックスがエンティティ型 '{duplicateEntityType}' に既に存在するため、インデックス {indexProperties} をエンティティ型 '{entityType}' に追加できません。 'OnModelCreating' のインデックスの 1 つに名前を追加することを検討してください。

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

パラメーター

indexindexProperties
Object
entityType
Object
duplicateEntityType
Object

戻り値

適用対象