Annotation 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個可以儲存在實 IReadOnlyAnnotatable作 的物件上的任意元資料。
此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。
public class Annotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
[System.Runtime.CompilerServices.Nullable(0)]
public class Annotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
type Annotation = class
interface IAnnotation
[<System.Runtime.CompilerServices.Nullable(0)>]
type Annotation = class
interface IAnnotation
Public Class Annotation
Implements IAnnotation
- 繼承
-
Annotation
- 屬性
- 實作
備註
更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。
建構函式
| 名稱 | Description |
|---|---|
| Annotation(String, Object) |
初始化 Annotation 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Name |
取得這個註解的鑰匙。 |
| Value |
會獲得這個註解所指派的值。 |