語言

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

傳回

適用於