RelationalAnnotationProvider クラス

定義

データベース プロバイダーによって継承される基底クラス。このクラスは、 のさまざまな要素 IReadOnlyModelでリレーショナル EF Core コンポーネントによって使用される注釈にアクセスできます。

public class RelationalAnnotationProvider : Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider
type RelationalAnnotationProvider = class
    interface IRelationalAnnotationProvider
Public Class RelationalAnnotationProvider
Implements IRelationalAnnotationProvider
継承
RelationalAnnotationProvider
実装

注釈

サービスの有効期間は です Singleton。 つまり、1 つのインスタンスが多くの DbContext インスタンスで使用されます。 実装はスレッド セーフである必要があります。 このサービスは、 として Scoped登録されているサービスに依存できません。

詳細と例については、「 エンティティの型とリレーションシップのモデル化 」を参照してください。

コンストラクター

RelationalAnnotationProvider(RelationalAnnotationProviderDependencies)

このクラスの新しいインスタンスを初期化します。

プロパティ

Dependencies

このサービスのリレーショナル プロバイダー固有の依存関係。

メソッド

For(ICheckConstraint)

指定 ICheckConstraintした のプロバイダー固有の注釈を取得します。

For(ICheckConstraint, Boolean)

指定 ICheckConstraintした のプロバイダー固有の注釈を取得します。

For(IColumn)

指定 IColumnした のプロバイダー固有の注釈を取得します。

For(IColumn, Boolean)

指定 IColumnした のプロバイダー固有の注釈を取得します。

For(IForeignKeyConstraint)

指定 IForeignKeyConstraintした のプロバイダー固有の注釈を取得します。

For(IForeignKeyConstraint, Boolean)

指定 IForeignKeyConstraintした のプロバイダー固有の注釈を取得します。

For(IFunctionColumn)

指定 IFunctionColumnした のプロバイダー固有の注釈を取得します。

For(IFunctionColumn, Boolean)

指定 IFunctionColumnした のプロバイダー固有の注釈を取得します。

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した のプロバイダー固有の注釈を取得します。

適用対象