ITypeBase 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示模型中的類型。
public interface ITypeBase : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable
public interface ITypeBase : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase
type ITypeBase = interface
interface IAnnotatable
type ITypeBase = interface
interface IReadOnlyTypeBase
interface IReadOnlyAnnotatable
interface IAnnotatable
Public Interface ITypeBase
Implements IAnnotatable
Public Interface ITypeBase
Implements IAnnotatable, IReadOnlyTypeBase
- 衍生
- 實作
備註
如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。
屬性
ClrType |
取得 CLR 類別,這個類別用來表示這個類型的實例。
在執行時間搭配 DbContext 使用的模型中,目前不支援陰影類型。 因此,陰影類型只會存在於移轉模型快照集等中。 |
ConstructorBinding |
InstantiationBinding取得慣用建構函式的 。 |
ContainingEntityType |
取得這個實體類型,或宣告複雜屬性鏈結所在的實體類型。 |
HasSharedClrType |
取得這個實體類型是否可以與其他實體共用其 ClrType。 |
IsPropertyBag |
取得這個實體類型是否具有可包含任意屬性的索引子。 |
Item[String] |
取得具有指定名稱的注釋值,如果不存在,則傳 |
Model |
取得此類型所屬的模型。 |
Name |
取得這個型別的名稱。 |
方法
擴充方法
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應