CoreStrings.NamedIndexDefinedOnIgnoredProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The index '{indexName}' specified via [Index] attribute on the entity type '{entityType}' with properties {indexProperties} is invalid. The property '{propertyName}' has been marked as unmapped via the [NotMapped] attribute or the 'EntityTypeBuilder.Ignore' fluent API. An index cannot use unmapped properties.
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
Parameters
- indexName
- Object
- entityType
- Object
- indexPropertyListindexProperties
- Object
- propertyName
- Object
Returns
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för