語言

IConventionAnnotation 介面

定義

一個可以儲存在實 IConventionAnnotatable作 的物件上的任意元資料。

此介面通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。

public interface IConventionAnnotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
type IConventionAnnotation = interface
    interface IAnnotation
Public Interface IConventionAnnotation
Implements IAnnotation
實作

備註

更多資訊與範例請參閱 模型建構慣例 。

屬性

名稱 Description
Name

取得這個註解的鑰匙。

(繼承來源 IAnnotation)
Value

會獲得這個註解所指派的值。

(繼承來源 IAnnotation)

方法

名稱 Description
GetConfigurationSource()

回傳此註解的設定來源。

適用於