CoreStrings.IndexPropertyMustBePropertyOrComplexProperty 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
實體類型 '{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