Condividi tramite


CoreStrings.UnnamedIndexDefinedOnIgnoredProperty Metodo

Definizione

L'indice senza nome specificato tramite l'attributo [Index] sul tipo di entità '{entityType}' con proprietà {indexProperties} non è valido. La proprietà '{propertyName}' è stata contrassegnata come non mappata dall'attributo [NotMapped] o 'Ignore()' in 'OnModelCreating'. Un indice non può utilizzare proprietà non mappate.

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

Parametri

entityType
Object
indexPropertyListindexProperties
Object
propertyName
Object

Restituisce

Si applica a