Язык

CoreStrings.NamedIndexDefinedOnIgnoredProperty Метод

Определение

Индекс "{indexName}", указанный с помощью атрибута [Index] в типе сущности "{entityType}" со свойствами {indexProperties} является недопустимым. Свойство "{propertyName}" было отмечено как не сопоставленное с помощью атрибута [NotMapped] или api fluent API EntityTypeBuilder.Ignore. Индекс не может использовать несопоставленные свойства.

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

Параметры

indexName
Object
entityType
Object
indexPropertiesindexPropertyList
Object
propertyName
Object

Возвращаемое значение

Применяется к