CoreStrings.NamedIndexDefinedOnIgnoredProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在實體類型 '{entityType}' 上透過 [Index] 屬性指定的索引 '{indexName}' 與屬性 {indexProperties} 無效。 屬性 '{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