Share via


IRelationalAnnotationProvider 介面

定義

服務通常是由資料庫提供者所實作,可存取 關聯式 EF Core 元件在 各種 元素上使用的 IRelationalModel 批註。

public interface IRelationalAnnotationProvider
type IRelationalAnnotationProvider = interface
Public Interface IRelationalAnnotationProvider
衍生

備註

服務存留期為 Singleton 。 這表示許多實例都會使用 DbContext 單一實例。 實作必須是安全線程。 此服務無法相依于註冊為 Scoped 的服務。

如需詳細資訊 和範例,請參閱資料庫提供者和延伸模組的實作

方法

For(ICheckConstraint)

取得指定 ICheckConstraint 之 的提供者特定注釋。

For(ICheckConstraint, Boolean)

取得指定 ICheckConstraint 之 的提供者特定注釋。

For(IColumn)

取得指定 IColumn 之 的提供者特定注釋。

For(IColumn, Boolean)

取得指定 IColumn 之 的提供者特定注釋。

For(IEntityType)

服務通常是由資料庫提供者所實作,可存取 關聯式 EF Core 元件在 各種 元素上使用的 IRelationalModel 批註。

For(IForeignKey)

服務通常是由資料庫提供者所實作,可存取 關聯式 EF Core 元件在 各種 元素上使用的 IRelationalModel 批註。

For(IForeignKeyConstraint)

取得指定 IForeignKeyConstraint 之 的提供者特定注釋。

For(IForeignKeyConstraint, Boolean)

取得指定 IForeignKeyConstraint 之 的提供者特定注釋。

For(IFunctionColumn)

取得指定 IFunctionColumn 之 的提供者特定注釋。

For(IFunctionColumn, Boolean)

取得指定 IFunctionColumn 之 的提供者特定注釋。

For(IIndex)

服務通常是由資料庫提供者所實作,可存取 關聯式 EF Core 元件在 各種 元素上使用的 IRelationalModel 批註。

For(IKey)

服務通常是由資料庫提供者所實作,可存取 關聯式 EF Core 元件在 各種 元素上使用的 IRelationalModel 批註。

For(IModel)

服務通常是由資料庫提供者所實作,可存取 關聯式 EF Core 元件在 各種 元素上使用的 IRelationalModel 批註。

For(IProperty)

服務通常是由資料庫提供者所實作,可存取 關聯式 EF Core 元件在 各種 元素上使用的 IRelationalModel 批註。

For(IRelationalModel)

取得指定 IRelationalModel 之 的提供者特定注釋。

For(IRelationalModel, Boolean)

取得指定 IRelationalModel 之 的提供者特定注釋。

For(ISequence)

取得指定 ISequence 之 的提供者特定注釋。

For(ISequence, Boolean)

取得指定 ISequence 之 的提供者特定注釋。

For(ISqlQuery)

取得指定 ISqlQuery 之 的提供者特定注釋。

For(ISqlQuery, Boolean)

取得指定 ISqlQuery 之 的提供者特定注釋。

For(ISqlQueryColumn)

取得指定 ISqlQueryColumn 之 的提供者特定注釋。

For(ISqlQueryColumn, Boolean)

取得指定 ISqlQueryColumn 之 的提供者特定注釋。

For(IStoreFunction)

取得指定 IStoreFunction 之 的提供者特定注釋。

For(IStoreFunction, Boolean)

取得指定 IStoreFunction 之 的提供者特定注釋。

For(IStoreFunctionParameter, Boolean)

取得指定 IStoreFunctionParameter 之 的提供者特定注釋。

For(IStoreStoredProcedure, Boolean)

取得指定 IStoreStoredProcedure 之 的提供者特定注釋。

For(IStoreStoredProcedureParameter, Boolean)

取得指定 IStoreStoredProcedureParameter 之 的提供者特定注釋。

For(IStoreStoredProcedureResultColumn, Boolean)

取得指定 IStoreStoredProcedureResultColumn 之 的提供者特定注釋。

For(ITable)

取得指定 ITable 之 的提供者特定注釋。

For(ITable, Boolean)

取得指定 ITable 之 的提供者特定注釋。

For(ITableIndex)

取得指定 ITableIndex 之 的提供者特定注釋。

For(ITableIndex, Boolean)

取得指定 ITableIndex 之 的提供者特定注釋。

For(ITrigger, Boolean)

取得指定 ITrigger 之 的提供者特定注釋。

For(IUniqueConstraint)

取得指定 IUniqueConstraint 之 的提供者特定注釋。

For(IUniqueConstraint, Boolean)

取得指定 IUniqueConstraint 之 的提供者特定注釋。

For(IView)

取得指定 IView 之 的提供者特定注釋。

For(IView, Boolean)

取得指定 IView 之 的提供者特定注釋。

For(IViewColumn)

取得指定 IViewColumn 之 的提供者特定注釋。

For(IViewColumn, Boolean)

取得指定 IViewColumn 之 的提供者特定注釋。

適用於