语言

CoreStrings.IndexPropertyMustBePropertyOrComplexProperty 方法

定义

无法配置实体类型“{entityType}”上的索引属性“{property}”,因为它不是标量属性或复杂属性。 索引只能引用标量属性和复杂属性。

public static string IndexPropertyMustBePropertyOrComplexProperty(object? property, object? entityType);
static member IndexPropertyMustBePropertyOrComplexProperty : obj * obj -> string
Public Shared Function IndexPropertyMustBePropertyOrComplexProperty (property As Object, entityType As Object) As String

参数

property
Object
entityType
Object

返回

适用于