Freigeben über


CoreStrings.UnnamedIndexDefinedOnIgnoredProperty Methode

Definition

Der nicht benannte Index, der über das [Index]-Attribut für den Entitätstyp '{entityType}' mit den Eigenschaften {indexProperties} angegeben wird, ist ungültig. Die Eigenschaft '{propertyName}' wurde als nicht zugeordnet durch das [NotMapped]-Attribut oder als "Ignore()" in "OnModelCreating" markiert. Ein Index kann keine nicht zugeordneten Eigenschaften verwenden.

public static string UnnamedIndexDefinedOnIgnoredProperty (object entityType, object indexPropertyList, object propertyName);
public static string UnnamedIndexDefinedOnIgnoredProperty (object? entityType, object? indexProperties, object? propertyName);
static member UnnamedIndexDefinedOnIgnoredProperty : obj * obj * obj -> string
static member UnnamedIndexDefinedOnIgnoredProperty : obj * obj * obj -> string
Public Shared Function UnnamedIndexDefinedOnIgnoredProperty (entityType As Object, indexPropertyList As Object, propertyName As Object) As String
Public Shared Function UnnamedIndexDefinedOnIgnoredProperty (entityType As Object, indexProperties As Object, propertyName As Object) As String

Parameter

entityType
Object
indexPropertyListindexProperties
Object
propertyName
Object

Gibt zurück

Gilt für: