CoreStrings.NamedIndexDefinedOnIgnoredProperty 方法

定义

在具有属性 {indexProperties} 的实体类型“{entityType}”上通过 [Index] 属性指定的索引“{indexName}”无效。 属性“{propertyName}”已通过 [NotMapped] 属性或“EntityTypeBuilder.Ignore”fluent API 标记为未映射。 索引不能使用未映射的属性。

public static string NamedIndexDefinedOnIgnoredProperty (object indexName, object entityType, object indexPropertyList, object propertyName);
public static string NamedIndexDefinedOnIgnoredProperty (object? indexName, object? entityType, object? indexProperties, 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, indexPropertyList As Object, propertyName As Object) As String
Public Shared Function NamedIndexDefinedOnIgnoredProperty (indexName As Object, entityType As Object, indexProperties As Object, propertyName As Object) As String

参数

indexName
Object
entityType
Object
indexPropertyListindexProperties
Object
propertyName
Object

返回

适用于