Bagikan melalui


RelationalPropertyJsonPropertyNameAttributeConvention Kelas

Definisi

Konvensi yang mengonfigurasi nama properti JSON berdasarkan yang diterapkan JsonPropertyNameAttribute.

public class RelationalPropertyJsonPropertyNameAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.Text.Json.Serialization.JsonPropertyNameAttribute>
type RelationalPropertyJsonPropertyNameAttributeConvention = class
    inherit PropertyAttributeConventionBase<JsonPropertyNameAttribute>
Public Class RelationalPropertyJsonPropertyNameAttributeConvention
Inherits PropertyAttributeConventionBase(Of JsonPropertyNameAttribute)
Warisan
RelationalPropertyJsonPropertyNameAttributeConvention

Keterangan

Lihat Konvensi pembuatan model untuk informasi dan contoh selengkapnya.

Konstruktor

RelationalPropertyJsonPropertyNameAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Membuat instans baru .RelationalPropertyJsonPropertyNameAttributeConvention

Properti

Dependencies

Dependensi untuk layanan ini.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)
RelationalDependencies

Dependensi khusus penyedia relasional untuk layanan ini.

Metode

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Dipanggil setelah properti kompleks ditambahkan ke objek seperti jenis.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)
ProcessComplexPropertyFieldChanged(IConventionComplexPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

Dipanggil setelah bidang backing untuk properti kompleks diubah.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

Dipanggil setelah properti kompleks ditambahkan ke jenis dengan atribut pada properti atau bidang CLR terkait.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Dipanggil setelah properti ditambahkan ke jenis entitas.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, JsonPropertyNameAttribute, MemberInfo, IConventionContext)

Konvensi yang mengonfigurasi nama properti JSON berdasarkan yang diterapkan JsonPropertyNameAttribute.

ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

Dipanggil setelah properti ditambahkan ke jenis entitas dengan atribut pada properti atau bidang CLR terkait.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyFieldChanged(IConventionPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

Dipanggil setelah bidang backing untuk properti diubah.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)

Berlaku untuk