Language

RelationalMapToJsonConvention クラス

定義

JSON 列にマップされたエンティティの既定の設定を構成する規則。

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalMapToJsonConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalMapToJsonConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class RelationalMapToJsonConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalMapToJsonConvention = class
    interface IEntityTypeAnnotationChangedConvention
    interface IConvention
    interface IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalMapToJsonConvention = class
    interface IModelFinalizingConvention
    interface IConvention
type RelationalMapToJsonConvention = class
    interface IEntityTypeAnnotationChangedConvention
    interface IConvention
    interface IModelFinalizingConvention
Public Class RelationalMapToJsonConvention
Implements IEntityTypeAnnotationChangedConvention, IModelFinalizingConvention
Public Class RelationalMapToJsonConvention
Implements IModelFinalizingConvention
継承
RelationalMapToJsonConvention
属性
実装

注釈

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

コンストラクター

Name 説明
RelationalMapToJsonConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

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

プロパティ

Name 説明
Dependencies

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

RelationalDependencies

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

メソッド

Name 説明
ProcessEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)
古い.

エンティティ型で注釈が変更された後に呼び出されます。

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

モデルの最終処理時に呼び出されます。

適用対象