IMutablePropertyBase 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用於導航與標量屬性的基礎類型。
public interface IMutablePropertyBase : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase
public interface IMutablePropertyBase : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase
type IMutablePropertyBase = interface
interface IPropertyBase
interface IAnnotatable
interface IMutableAnnotatable
type IMutablePropertyBase = interface
interface IReadOnlyPropertyBase
interface IReadOnlyAnnotatable
interface IMutableAnnotatable
Public Interface IMutablePropertyBase
Implements IMutableAnnotatable, IPropertyBase
Public Interface IMutablePropertyBase
Implements IMutableAnnotatable, IReadOnlyPropertyBase
- 衍生
- 實作
備註
此介面用於模型建立時,允許修改元資料。 模型建構完成後,代表 IReadOnlyPropertyBase 同一元資料的唯讀視圖。
更多資訊與範例請參閱 建模實體類型與關係 。
屬性
| 名稱 | Description |
|---|---|
| ClrType |
取得這個類屬性物件所持有的值類型。 (繼承來源 IReadOnlyPropertyBase) |
| DeclaringEntityType |
已淘汰.
取得該屬性所屬的實體類型。 (繼承來源 IPropertyBase) |
| DeclaringType |
取得該物業所屬的類型。 |
| FieldInfo |
取得或設定此屬性底層的 CLR 欄位。
這可能是 |
| IsCollection |
會得到一個值,表示該屬性是否為集合。 (繼承來源 IReadOnlyPropertyBase) |
| Item[String] |
取得帶有名稱的註解值,若不存在則回 |
| Name |
取得這個類性質物件的名稱。 (繼承來源 IReadOnlyPropertyBase) |
| PropertyInfo |
取得該類性質物件底層 CLR 屬性的 。PropertyInfo
這可能是 |
| Sentinel |
取得哨兵值,表示此屬性未被設定。 (繼承來源 IReadOnlyPropertyBase) |