Bagikan melalui


CosmosInversePropertyAttributeConvention Kelas

Definisi

Konvensi yang mengonfigurasi properti navigasi terbalik berdasarkan InversePropertyAttribute yang ditentukan pada properti navigasi lainnya. Semua navigasi diasumsikan menargetkan jenis entitas yang dimiliki untuk Cosmos.

public class CosmosInversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.InversePropertyAttributeConvention
type CosmosInversePropertyAttributeConvention = class
    inherit InversePropertyAttributeConvention
Public Class CosmosInversePropertyAttributeConvention
Inherits InversePropertyAttributeConvention
Warisan

Keterangan

Lihat Konvensi pembuatan model, dan Mengakses Azure Cosmos DB dengan EF Core untuk informasi dan contoh selengkapnya.

Konstruktor

CosmosInversePropertyAttributeConvention(ProviderConventionSetBuilderDependencies)

Membuat instans baru .InversePropertyAttributeConvention

Properti

Dependencies

Dependensi untuk layanan ini.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)

Metode

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Dipanggil setelah jenis entitas ditambahkan ke model.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas ditambahkan ke model.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas ditambahkan ke model.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

Dipanggil setelah jenis dasar jenis entitas berubah.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis dasar untuk jenis entitas diubah.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis dasar untuk jenis entitas diubah.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

Dipanggil setelah jenis entitas diabaikan.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, InversePropertyAttribute, IConventionContext<String>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas diabaikan.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas diabaikan.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<String>)

Dipanggil setelah properti navigasi yang memiliki atribut diabaikan.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<String>)

Dipanggil setelah properti navigasi yang memiliki atribut diabaikan.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Dipanggil setelah anggota jenis entitas diabaikan.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

Dipanggil setelah jenis entitas dihapus dari model.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)

Konvensi yang mengonfigurasi properti navigasi terbalik berdasarkan InversePropertyAttribute yang ditentukan pada properti navigasi lainnya. Semua navigasi diasumsikan menargetkan jenis entitas yang dimiliki untuk Cosmos.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas dihapus.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)

Konvensi yang mengonfigurasi properti navigasi terbalik berdasarkan InversePropertyAttribute yang ditentukan pada properti navigasi lainnya. Semua navigasi diasumsikan menargetkan jenis entitas yang dimiliki untuk Cosmos.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas dihapus.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Dipanggil setelah akhir utama kunci asing diubah.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IEnumerable<TAttribute>, IEnumerable<TAttribute>, IConventionContext<IConventionForeignKeyBuilder>)

Dipanggil setelah akhir utama kunci asing diubah.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Dipanggil setelah model diselesaikan.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Dipanggil ketika model sedang diselesaikan.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Dipanggil setelah navigasi ditambahkan ke jenis entitas.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionNavigationBuilder, InversePropertyAttribute, IConventionContext<IConventionNavigationBuilder>)

Konvensi yang mengonfigurasi properti navigasi terbalik berdasarkan InversePropertyAttribute yang ditentukan pada properti navigasi lainnya. Semua navigasi diasumsikan menargetkan jenis entitas yang dimiliki untuk Cosmos.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)

Dipanggil setelah properti navigasi yang memiliki atribut ditambahkan ke jenis entitas.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

Dipanggil setelah navigasi ditambahkan ke jenis entitas.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, InversePropertyAttribute, IConventionContext<IConventionNavigation>)

Dipanggil setelah properti navigasi yang memiliki atribut ditambahkan ke jenis entitas.

(Diperoleh dari InversePropertyAttributeConvention)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, TAttribute, IConventionContext<IConventionNavigation>)

Dipanggil setelah properti navigasi yang memiliki atribut ditambahkan ke jenis entitas.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

Dipanggil setelah navigasi lewati ditambahkan ke jenis entitas.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, TAttribute, IConventionContext<IConventionSkipNavigationBuilder>)

Dipanggil setelah properti navigasi lewati yang memiliki atribut ditambahkan ke jenis entitas.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

Dipanggil setelah jenis entitas diabaikan.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
ProcessTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas diabaikan.

(Diperoleh dari NavigationAttributeConventionBase<TAttribute>)
TryGetTargetEntityTypeBuilder(IConventionEntityTypeBuilder, Type, MemberInfo, Boolean)

Menemukan atau mencoba membuat target jenis entitas untuk anggota navigasi tertentu.

Berlaku untuk