InversePropertyAttributeConvention Sınıf

Tanım

Diğer gezinti özelliğinde belirtilen değerine göre ters gezinti InversePropertyAttribute özelliğini yapılandıran bir kural.

public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type InversePropertyAttributeConvention = class
    inherit NavigationAttributeConventionBase<InversePropertyAttribute>
    interface IModelFinalizedConvention
    interface IConvention
type InversePropertyAttributeConvention = class
    inherit NavigationAttributeConventionBase<InversePropertyAttribute>
    interface IModelFinalizingConvention
    interface IConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IModelFinalizedConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IModelFinalizingConvention
Devralma
Türetilmiş
Uygulamalar

Açıklamalar

Daha fazla bilgi için bkz. Model bina kuralları.

Oluşturucular

InversePropertyAttributeConvention(ProviderConventionSetBuilderDependencies)

InversePropertyAttributeConvention öğesinin yeni bir örneğini oluşturur.

Özellikler

Dependencies

Bu hizmet için bağımlılıklar.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)

Yöntemler

IsAmbiguous(IConventionEntityType, MemberInfo, IConventionEntityType)

Verilen gezintinin ile belirsiz ters gezintiler olup olmadığını gösteren bir değer göstergesi InversePropertyAttribute döndürür.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Modele bir varlık türü eklendikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Modele bir varlık türü eklendikten sonra özniteliği olan her gezinti özelliği için çağrılır.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Bir varlık türü modele eklendikten sonra özniteliği olan her gezinti özelliği için çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

Bir varlık türünün temel türü değiştiğinde çağırılır.

ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

Bir varlık türünün temel türü değiştiğinde çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)

Varlık türü için temel tür değiştirildikten sonra özniteliği olan her gezinti özelliği için çağrılır.

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

Bir varlık türünün temel türü değiştirildikten sonra özniteliği olan her gezinti özelliği için çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

Bir varlık türü yok sayılırsa çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, InversePropertyAttribute, IConventionContext<String>)

Varlık türü yoksayıldıktan sonra özniteliği olan her gezinti özelliği için çağrılır.

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

Bir varlık türü yoksayıldıktan sonra özniteliği olan her gezinti özelliği için çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<String>)

Özniteliği olan bir gezinti özelliği yok sayıldıktan sonra çağrılır.

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

Özniteliği olan bir gezinti özelliği yoksayılırsa çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Bir varlık türü üyesi yoksayılırsa çağırılır.

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Bir varlık türü üyesi yoksayılırsa çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

Bir varlık türü modelden kaldırıldıktan sonra çağrılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Bir varlık türü kaldırıldıktan sonra özniteliği olan her gezinti özelliği için çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityType>)
ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Bir varlık türü kaldırıldıktan sonra özniteliği olan her gezinti özelliği için çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Yabancı anahtarın asıl sonu değiştirildikten sonra çağrılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IEnumerable<TAttribute>, IEnumerable<TAttribute>, IConventionContext<IConventionForeignKeyBuilder>)

Yabancı anahtarın asıl sonu değiştirildikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Model son hale getirildikten sonra çağrılır.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Modelin son hale getirildikleri zaman çağrılır.

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Varlık türüne bir gezinti eklendikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionNavigationBuilder, InversePropertyAttribute, IConventionContext<IConventionNavigationBuilder>)
ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)

Özniteliği olan bir gezinti özelliği bir varlık türüne eklendikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

Varlık türüne bir gezinti eklendikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, InversePropertyAttribute, IConventionContext<IConventionNavigation>)

Özniteliği olan bir gezinti özelliği varlık türüne eklendikten sonra çağrılır.

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, TAttribute, IConventionContext<IConventionNavigation>)

Özniteliği olan bir gezinti özelliği bir varlık türüne eklendikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

Bir atlama gezintisi varlık türüne eklendikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, TAttribute, IConventionContext<IConventionSkipNavigationBuilder>)

Özniteliği olan bir atlama gezintisi özelliği bir varlık türüne eklendikten sonra çağırılır.

(Devralındığı yer: NavigationAttributeConventionBase<TAttribute>)
TryGetTargetEntityTypeBuilder(IConventionEntityTypeBuilder, Type, MemberInfo, Boolean)

Verilen gezinti üyesi için bir varlık türü hedefi bulur veya oluşturmayı çalışır.

Şunlara uygulanır