Sprache

CoreStrings.UnnamedIndexDefinedOnIgnoredProperty Methode

Definition

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

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

Parameter

entityType
Object
indexPropertiesindexPropertyList
Object
propertyName
Object

Gibt zurück

Gilt für: