IMutableNavigationBase 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示可用來巡覽關聯性的導覽屬性。
public interface IMutableNavigationBase : Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase, Microsoft.EntityFrameworkCore.Metadata.INavigationBase
public interface IMutableNavigationBase : Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigationBase
type IMutableNavigationBase = interface
interface INavigationBase
interface IPropertyBase
interface IAnnotatable
interface IMutablePropertyBase
interface IMutableAnnotatable
type IMutableNavigationBase = interface
interface IReadOnlyNavigationBase
interface IReadOnlyPropertyBase
interface IReadOnlyAnnotatable
interface IMutablePropertyBase
interface IMutableAnnotatable
Public Interface IMutableNavigationBase
Implements IMutablePropertyBase, INavigationBase
Public Interface IMutableNavigationBase
Implements IMutablePropertyBase, IReadOnlyNavigationBase
- 衍生
- 實作
備註
此介面會在模型建立期間使用,並允許修改中繼資料。 建置模型之後, IReadOnlyNavigationBase 表示相同中繼資料的唯讀檢視。
如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。
屬性
ClrType |
取得這個類似屬性的物件所保存的值型別。 (繼承來源 IReadOnlyPropertyBase) |
DeclaringEntityType |
取得此導覽屬性所屬的實體類型。 (繼承來源 IReadOnlyNavigationBase) |
DeclaringType |
取得這個類似屬性的物件所屬的類型。 (繼承來源 IReadOnlyPropertyBase) |
FieldInfo |
FieldInfo取得此屬性類似物件之基礎 CLR 欄位的 。
這可能 |
Inverse |
取得反向導覽。 (繼承來源 IReadOnlyNavigationBase) |
IsCollection |
取得值,指出導覽屬性是否為集合屬性。 (繼承來源 IReadOnlyNavigationBase) |
IsEagerLoaded |
取得值,指出此導覽是否應該預設為積極式載入。 (繼承來源 IReadOnlyNavigationBase) |
Item[String] |
取得具有指定名稱之注釋的值,如果不存在,則傳 |
LazyLoadingEnabled |
判斷如果已啟用延遲載入,且模型中已設定延遲載入的機制,則決定是否應該延遲載入此流覽。 (繼承來源 IReadOnlyNavigationBase) |
Name |
取得這個類似屬性的物件名稱。 (繼承來源 IReadOnlyPropertyBase) |
PropertyInfo |
PropertyInfo取得此屬性類似物件之基礎 CLR 屬性的 。
這可能 |
Sentinel |
取得 sentinel 值,這個值表示這個屬性未設定。 (繼承來源 IReadOnlyPropertyBase) |
TargetEntityType |
取得這個導覽屬性將保存實例的實體類型, (的實例) 。 (繼承來源 IReadOnlyNavigationBase) |
方法
明確介面實作
IPropertyBase.GetPropertyAccessMode() |
PropertyAccessMode取得用於這個屬性的 。
|
IReadOnlyPropertyBase.IsShadowProperty() |
取得值,指出這個 是否為陰影屬性。 陰影屬性是實體類別中沒有對應屬性的陰影屬性。 屬性的目前值會儲存在 中 ChangeTracker ,而不是儲存在實體類別的實例中。 (繼承來源 IReadOnlyNavigationBase) |