Language

RelationalAnnotationProvider クラス

定義

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

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalAnnotationProvider : Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider
public class RelationalAnnotationProvider : Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalAnnotationProvider = class
    interface IRelationalAnnotationProvider
type RelationalAnnotationProvider = class
    interface IRelationalAnnotationProvider
Public Class RelationalAnnotationProvider
Implements IRelationalAnnotationProvider
継承
RelationalAnnotationProvider
属性
実装

注釈

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

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

コンストラクター

Name 説明
RelationalAnnotationProvider(RelationalAnnotationProviderDependencies)

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

プロパティ

Name 説明
Dependencies

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

メソッド

Name 説明
CreateJsonIndex(IIndex, ITableIndex)

特定のマップされた JSON インデックスの RelationalJsonIndex を構築します。

FindJsonElement(IPropertyBase, ITable)

指定したテーブルの特定のプロパティの IRelationalJsonElement を解決します。 すべての JSON 要素マッピングは、テーブル インデックス注釈が収集される前に設定されるため、このコード パスに到達するすべてのプロパティに対してマッピングが存在することが期待されます。

For(ICheckConstraint, Boolean)

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

For(ICheckConstraint)

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

For(IColumn, Boolean)

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

For(IColumn)

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

For(IForeignKeyConstraint, Boolean)

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

For(IForeignKeyConstraint)

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

For(IFunctionColumn, Boolean)

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

For(IFunctionColumn)

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

For(IRelationalModel, Boolean)

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

For(IRelationalModel)

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

For(ISequence, Boolean)

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

For(ISequence)

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

For(ISqlQuery, Boolean)

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

For(ISqlQuery)

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

For(ISqlQueryColumn, Boolean)

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

For(ISqlQueryColumn)

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

For(IStoreFunction, Boolean)

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

For(IStoreFunction)

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

For(IStoreFunctionParameter, Boolean)

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

For(IStoreStoredProcedure, Boolean)

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

For(IStoreStoredProcedureParameter, Boolean)

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

For(IStoreStoredProcedureResultColumn, Boolean)

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

For(ITable, Boolean)

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

For(ITable)

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

For(ITableIndex, Boolean)

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

For(ITableIndex)

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

For(ITrigger, Boolean)

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

For(IUniqueConstraint, Boolean)

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

For(IUniqueConstraint)

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

For(IView, Boolean)

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

For(IView)

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

For(IViewColumn, Boolean)

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

For(IViewColumn)

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

適用対象