Language

RelationalRuntimeModelConvention クラス

定義

変更可能なモデルの最適化されたコピーを作成する規則。 この規則は、通常、読み取り専用モデルを作成するときにプロバイダーの注釈を更新するためにデータベース プロバイダーによって実装されます。

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalRuntimeModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.RuntimeModelConvention
public class RelationalRuntimeModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.RuntimeModelConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalRuntimeModelConvention = class
    inherit RuntimeModelConvention
type RelationalRuntimeModelConvention = class
    inherit RuntimeModelConvention
Public Class RelationalRuntimeModelConvention
Inherits RuntimeModelConvention
継承
RelationalRuntimeModelConvention
派生
属性

注釈

詳細と例については、「 モデル構築規則 」を参照してください。

コンストラクター

Name 説明
RelationalRuntimeModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

RelationalRuntimeModelConventionの新しいインスタンスを作成します。

プロパティ

Name 説明
Dependencies

このサービスの依存関係。

(継承元 RuntimeModelConvention)
RelationalDependencies

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

メソッド

Name 説明
Create(IModel)

指定されたモデルベースに最適化されたモデルベースを作成します。

(継承元 RuntimeModelConvention)
GetForeignKey(IForeignKey, RuntimeEntityType)

読み取り最適化モデルの対応する外部キーを取得します。

(継承元 RuntimeModelConvention)
GetIndex(IIndex, RuntimeEntityType)

読み取り最適化モデルの対応するインデックスを取得します。

(継承元 RuntimeModelConvention)
GetKey(IKey, RuntimeEntityType)

読み取り最適化モデルの対応するキーを取得します。

(継承元 RuntimeModelConvention)
ProcessComplexPropertyAnnotations(Dictionary<String,Object>, IComplexProperty, RuntimeComplexProperty, Boolean)

読み取り専用オブジェクトに設定されるプロパティ注釈を更新します。

ProcessComplexPropertyAnnotations(Dictionary<String,Object>, IComplexProperty, RuntimeComplexProperty, Boolean)

読み取り専用オブジェクトに設定されるプロパティ注釈を更新します。

(継承元 RuntimeModelConvention)
ProcessComplexTypeAnnotations(Dictionary<String,Object>, IComplexType, RuntimeComplexType, Boolean)

読み取り専用オブジェクトに設定される複合型注釈を更新します。

ProcessElementTypeAnnotations(Dictionary<String,Object>, IElementType, RuntimeElementType, Boolean)

読み取り専用オブジェクトに設定される要素型の注釈を更新します。

(継承元 RuntimeModelConvention)
ProcessEntityTypeAnnotations(Dictionary<String,Object>, IEntityType, RuntimeEntityType, Boolean)

読み取り専用オブジェクトに設定されるエンティティ型の注釈を更新します。

ProcessEntityTypeAnnotations(IDictionary<String,Object>, IEntityType, RuntimeEntityType, Boolean)

読み取り専用オブジェクトに設定されるエンティティ型の注釈を更新します。

ProcessEntityTypeMappingFragmentAnnotations(Dictionary<String,Object>, IEntityTypeMappingFragment, RuntimeEntityTypeMappingFragment, Boolean)

リレーショナル プロパティを更新すると、読み取り専用オブジェクトに設定される注釈がオーバーライドされます。

ProcessForeignKeyAnnotations(Dictionary<String,Object>, IForeignKey, RuntimeForeignKey, Boolean)

読み取り専用オブジェクトに設定される外部キー注釈を更新します。

ProcessFunctionAnnotations(Dictionary<String,Object>, IDbFunction, RuntimeDbFunction, Boolean)

読み取り専用オブジェクトに設定される関数注釈を更新します。

ProcessFunctionParameterAnnotations(Dictionary<String,Object>, IDbFunctionParameter, RuntimeDbFunctionParameter, Boolean)

読み取り専用オブジェクトに設定される関数パラメーター注釈を更新します。

ProcessIndexAnnotations(Dictionary<String,Object>, IIndex, RuntimeIndex, Boolean)

読み取り専用オブジェクトに設定されるインデックス注釈を更新します。

ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean)

読み取り専用オブジェクトに設定されるキー注釈を更新します。

ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean)

読み取り専用オブジェクトに設定されるキー注釈を更新します。

ProcessModelAnnotations(Dictionary<String,Object>, IModel, RuntimeModel, Boolean)

読み取り専用オブジェクトに設定されるモデル注釈を更新します。

ProcessModelFinalized(IModel)

モデルが完成した後に呼び出され、変更できなくなります。

(継承元 RuntimeModelConvention)
ProcessNavigationAnnotations(Dictionary<String,Object>, INavigation, RuntimeNavigation, Boolean)

読み取り専用オブジェクトに設定されるナビゲーション注釈を更新します。

ProcessNavigationAnnotations(Dictionary<String,Object>, INavigation, RuntimeNavigation, Boolean)

読み取り専用オブジェクトに設定されるナビゲーション注釈を更新します。

(継承元 RuntimeModelConvention)
ProcessPropertyAnnotations(Dictionary<String,Object>, IProperty, RuntimeProperty, Boolean)

読み取り専用オブジェクトに設定されるプロパティ注釈を更新します。

ProcessPropertyOverridesAnnotations(Dictionary<String,Object>, IRelationalPropertyOverrides, RuntimeRelationalPropertyOverrides, Boolean)

リレーショナル プロパティを更新すると、読み取り専用オブジェクトに設定される注釈がオーバーライドされます。

ProcessPropertyOverridesAnnotations(Dictionary<String,Object>, IRelationalPropertyOverrides, RuntimeRelationalPropertyOverrides, Boolean)

リレーショナル プロパティを更新すると、読み取り専用オブジェクトに設定される注釈がオーバーライドされます。

ProcessSequenceAnnotations(Dictionary<String,Object>, ISequence, RuntimeSequence, Boolean)

読み取り専用オブジェクトに設定されるシーケンス注釈を更新します。

ProcessServicePropertyAnnotations(Dictionary<String,Object>, IServiceProperty, RuntimeServiceProperty, Boolean)

読み取り専用オブジェクトに設定されるサービス プロパティ注釈を更新します。

(継承元 RuntimeModelConvention)
ProcessSkipNavigationAnnotations(Dictionary<String,Object>, ISkipNavigation, RuntimeSkipNavigation, Boolean)

読み取り専用オブジェクトに設定されるスキップ ナビゲーション注釈を更新します。

(継承元 RuntimeModelConvention)
ProcessStoredProcedureAnnotations(Dictionary<String,Object>, IStoredProcedure, RuntimeStoredProcedure, Boolean)

読み取り専用オブジェクトに設定されるストアド プロシージャの注釈を更新します。

ProcessStoredProcedureParameterAnnotations(Dictionary<String,Object>, IStoredProcedureParameter, RuntimeStoredProcedureParameter, Boolean)

読み取り専用オブジェクトに設定されるストアド プロシージャ パラメーター注釈を更新します。

ProcessStoredProcedureResultColumnAnnotations(Dictionary<String,Object>, IStoredProcedureResultColumn, RuntimeStoredProcedureResultColumn, Boolean)

読み取り専用オブジェクトに設定されるストアド プロシージャの結果列の注釈を更新します。

ProcessTriggerAnnotations(Dictionary<String,Object>, ITrigger, RuntimeTrigger, Boolean)

読み取り専用オブジェクトに設定されるトリガー注釈を更新します。

(継承元 RuntimeModelConvention)
ProcessTypeMappingConfigurationAnnotations(Dictionary<String,Object>, ITypeMappingConfiguration, RuntimeTypeMappingConfiguration, Boolean)

読み取り専用オブジェクトに設定されるプロパティ注釈を更新します。

(継承元 RuntimeModelConvention)

適用対象