Lenguaje

CoreStrings.UnnamedIndexDefinedOnIgnoredProperty Método

Definición

El índice sin nombre especificado a través del atributo [Index] en el tipo de entidad '{entityType}' con las propiedades {indexProperties} no es válida. La propiedad '{propertyName}' se marcó como no asignada por el atributo [NotMapped] o "Ignore()" en "OnModelCreating". Un índice no puede usar propiedades sin asignar.

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

Parámetros

entityType
Object
indexPropertiesindexPropertyList
Object
propertyName
Object

Devoluciones

Se aplica a