CoreStrings.UnnamedIndexDefinedOnIgnoredProperty 方法

定义

在属性为 {indexProperties} 的实体类型“{entityType}”上通过 [Index] 属性指定的未命名索引无效。 属性“{propertyName}”被 [NotMapped] 属性或“OnModelCreating”中的“Ignore () ”标记为未映射。 索引不能使用未映射的属性。

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

参数

entityType
Object
indexPropertyListindexProperties
Object
propertyName
Object

返回

适用于