ITableBase 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表資料庫中的類似資料表的物件。
public interface ITableBase : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable
type ITableBase = interface
interface IAnnotatable
interface IReadOnlyAnnotatable
type ITableBase = interface
interface IAnnotatable
Public Interface ITableBase
Implements IAnnotatable
- 衍生
- 實作
備註
更多資訊與範例請參閱 建模實體類型與關係 。
屬性
| 名稱 | Description |
|---|---|
| Columns |
取得此表格中定義的欄位。 |
| ComplexTypeMappings |
能取得複雜型態的映射。 |
| EntityTypeMappings |
取得實體類型的映射。 |
| IsShared |
取得顯示多個實體類型是否共享資料表列的值。 |
| Item[String] |
取得帶有名稱的註解值,若不存在則回 |
| Model |
取得資料庫模型。 |
| Name |
取得資料庫中資料表的名稱。 |
| Schema |
取得資料庫中資料表的結構。 |
| SchemaQualifiedName |
取得資料庫中資料表的結構限定名稱。 |
方法
擴充方法
| 名稱 | Description |
|---|---|
| AnnotationsToDebugString(IAnnotatable, Int32) |
取得物件上所有宣告註解的除錯字串。 |
| GetAnnotation(IAnnotatable, String) |
取得帶有名稱的註解,若不存在則拋出。 |