共用方式為


CoreStrings.UnnamedIndexDefinedOnIgnoredProperty 方法

定義

在實體類型 '{entityType}' 上透過 [Index] 屬性指定的未命名索引與屬性 {indexProperties} 無效。 屬性 '{propertyName}' 在 'OnModelCreating' 中標示為未對應的 [NotMapped] 屬性或 '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

傳回

適用於