Language

RelationalPropertyJsonPropertyNameAttributeConvention クラス

定義

適用された JsonPropertyNameAttributeに基づいて JSON プロパティ名を構成する規則。

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class RelationalPropertyJsonPropertyNameAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.Text.Json.Serialization.JsonPropertyNameAttribute>
public class RelationalPropertyJsonPropertyNameAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.Text.Json.Serialization.JsonPropertyNameAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type RelationalPropertyJsonPropertyNameAttributeConvention = class
    inherit PropertyAttributeConventionBase<JsonPropertyNameAttribute>
type RelationalPropertyJsonPropertyNameAttributeConvention = class
    inherit PropertyAttributeConventionBase<JsonPropertyNameAttribute>
Public Class RelationalPropertyJsonPropertyNameAttributeConvention
Inherits PropertyAttributeConventionBase(Of JsonPropertyNameAttribute)
継承
RelationalPropertyJsonPropertyNameAttributeConvention
属性

注釈

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

コンストラクター

Name 説明
RelationalPropertyJsonPropertyNameAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

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

プロパティ

Name 説明
Dependencies

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

(継承元 PropertyAttributeConventionBase<TAttribute>)
RelationalDependencies

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

メソッド

Name 説明
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

複合プロパティが型に似たオブジェクトに追加された後に呼び出されます。

(継承元 PropertyAttributeConventionBase<TAttribute>)
ProcessComplexPropertyFieldChanged(IConventionComplexPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

複合プロパティのバッキング フィールドが変更された後に呼び出されます。

(継承元 PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

複合プロパティが、関連付けられた CLR プロパティまたはフィールドの属性を持つ型に追加された後に呼び出されます。

(継承元 PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

プロパティがエンティティ型に追加された後に呼び出されます。

(継承元 PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, JsonPropertyNameAttribute, MemberInfo, IConventionContext)

関連付けられた CLR プロパティまたはフィールドの属性を持つエンティティ型にプロパティが追加された後に呼び出されます。

ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

関連付けられた CLR プロパティまたはフィールドの属性を持つエンティティ型にプロパティが追加された後に呼び出されます。

(継承元 PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyFieldChanged(IConventionPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

プロパティのバッキング フィールドが変更された後に呼び出されます。

(継承元 PropertyAttributeConventionBase<TAttribute>)

適用対象