語言

PropertyBaseExtensions.IsIndexerProperty(IPropertyBase) 方法

定義

會得到一個值,表示這是否屬於索引器屬性。 索引器屬性是指透過實體類別上的索引器存取的屬性。

public static bool IsIndexerProperty(this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
static member IsIndexerProperty : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> bool
<Extension()>
Public Function IsIndexerProperty (property As IPropertyBase) As Boolean

參數

property
IPropertyBase

該物業值得檢查。

傳回

true 若該性質是索引性質,否則 false。

適用於