Bagikan melalui


BackingFieldAttributeConvention Kelas

Definisi

Konvensi yang mengonfigurasi properti sebagai memiliki bidang dukungan berdasarkan BackingFieldAttribute atribut .

public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>
public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyFieldChangedConvention
type BackingFieldAttributeConvention = class
    inherit PropertyAttributeConventionBase<BackingFieldAttribute>
type BackingFieldAttributeConvention = class
    inherit PropertyAttributeConventionBase<BackingFieldAttribute>
    interface IComplexPropertyAddedConvention
    interface IConvention
    interface IComplexPropertyFieldChangedConvention
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
Implements IComplexPropertyAddedConvention, IComplexPropertyFieldChangedConvention
Warisan
Penerapan

Keterangan

Lihat Konvensi pembuatan model untuk informasi dan contoh selengkapnya.

Konstruktor

BackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies)

Membuat instans baru .BackingFieldAttributeConvention

Properti

Dependencies

Dependensi untuk layanan ini.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)

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 dukungan untuk properti kompleks diubah.

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

Konvensi yang mengonfigurasi properti sebagai memiliki bidang dukungan berdasarkan BackingFieldAttribute atribut .

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, BackingFieldAttribute, MemberInfo, IConventionContext)

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

ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Dipanggil setelah properti ditambahkan ke jenis entitas.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)
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 dukungan untuk properti diubah.

(Diperoleh dari PropertyAttributeConventionBase<TAttribute>)

Berlaku untuk