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 表示相同中繼資料的唯讀檢視。
如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。
屬性
ClrType |
取得這個類似屬性的物件所保留的值型別。 (繼承來源 IReadOnlyPropertyBase) |
DeclaringEntityType |
已淘汰.
取得此屬性所屬的實體類型。 (繼承來源 IPropertyBase) |
DeclaringType |
取得此屬性所屬的型別。 |
FieldInfo |
取得或設定此屬性的基礎 CLR 欄位。
這可能 |
Item[String] |
取得具有指定名稱的注釋值,如果不存在,則傳 |
Name |
取得這個類似屬性的物件名稱。 (繼承來源 IReadOnlyPropertyBase) |
PropertyInfo |
PropertyInfo取得此屬性類似物件之基礎 CLR 屬性的 。
這適用于陰影屬性,或者如果直接對應至欄位,則 |
Sentinel |
取得 sentinel 值,這個值表示未設定這個屬性。 (繼承來源 IReadOnlyPropertyBase) |