IMutableNavigation 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一種可用於導航關係的導航屬性。
public interface IMutableNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.INavigation
public interface IMutableNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutablePropertyBase, Microsoft.EntityFrameworkCore.Metadata.INavigation
public interface IMutableNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableNavigationBase, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation
public interface IMutableNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableNavigationBase, Microsoft.EntityFrameworkCore.Metadata.INavigation
type IMutableNavigation = interface
interface INavigation
interface IPropertyBase
interface IAnnotatable
interface IMutableAnnotatable
type IMutableNavigation = interface
interface INavigation
interface IPropertyBase
interface IAnnotatable
interface IMutablePropertyBase
interface IMutableAnnotatable
type IMutableNavigation = interface
interface IReadOnlyNavigation
interface IReadOnlyNavigationBase
interface IReadOnlyPropertyBase
interface IReadOnlyAnnotatable
interface IMutableNavigationBase
interface IMutablePropertyBase
interface IMutableAnnotatable
type IMutableNavigation = interface
interface INavigation
interface INavigationBase
interface IPropertyBase
interface IAnnotatable
interface IMutableNavigationBase
interface IMutablePropertyBase
interface IMutableAnnotatable
Public Interface IMutableNavigation
Implements IMutableAnnotatable, INavigation
Public Interface IMutableNavigation
Implements IMutablePropertyBase, INavigation
Public Interface IMutableNavigation
Implements IMutableNavigationBase, IReadOnlyNavigation
Public Interface IMutableNavigation
Implements IMutableNavigationBase, INavigation
- 實作
備註
此介面用於模型建立時,允許修改元資料。 模型建構完成後,代表 INavigation 同一元資料的唯讀視圖。
更多資訊與範例請參閱 建模實體類型與關係 。
屬性
| 名稱 | Description |
|---|---|
| ClrType |
取得這個類屬性物件所持有的值類型。 (繼承來源 IReadOnlyPropertyBase) |
| DeclaringEntityType |
取得該導航屬性所屬的類型。 |
| DeclaringType |
取得這個類性質物件所屬的類型。 (繼承來源 IReadOnlyPropertyBase) |
| FieldInfo |
取得這個類屬性物件底層 CLR 欄位的 。FieldInfo
這可能是 |
| ForeignKey |
取得定義此導航屬性所導航關係的外鍵。 |
| Inverse |
會用反向導航。 |
| IsCollection |
取得一個值,表示導航屬性是否為集合屬性。 (繼承來源 INavigationBase) |
| IsEagerLoaded |
判斷此導覽是否應該預設為 eager load。 |
| IsOnDependent |
獲得一個值,表示導航性質是否定義在底層外鍵的依賴端。 (繼承來源 IReadOnlyNavigation) |
| Item[String] |
取得帶有名稱的註解值,若不存在則回 |
| LazyLoadingEnabled |
判斷若啟用怠載且模型中已配置緩載機制,是否應進行此導航。 (繼承來源 IReadOnlyNavigationBase) |
| Name |
取得這個類性質物件的名稱。 (繼承來源 IReadOnlyPropertyBase) |
| PropertyInfo |
取得該類性質物件底層 CLR 屬性的 。PropertyInfo
這可能是 |
| Sentinel |
取得哨兵值,表示此屬性未被設定。 (繼承來源 IReadOnlyPropertyBase) |
| TargetEntityType |
取得這個導航屬性將承載實例的實體類型。 |