PropertyBaseExtensions.IsIndexerProperty(IPropertyBase) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個值,表示這是否屬於索引器屬性。 索引器屬性是指透過實體類別上的索引器存取的屬性。
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。