CoreStrings.NamedIndexDefinedOnIgnoredProperty 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在具有属性 {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