KeylessEntityTypeAttributeConvention Sınıf

Tanım

Olan varlık türlerini yok sayan bir kural KeylessAttribute .

public class KeylessEntityTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.EntityTypeAttributeConventionBase<Microsoft.EntityFrameworkCore.KeylessAttribute>
type KeylessEntityTypeAttributeConvention = class
    inherit EntityTypeAttributeConventionBase<KeylessAttribute>
Public Class KeylessEntityTypeAttributeConvention
Inherits EntityTypeAttributeConventionBase(Of KeylessAttribute)
Devralma
KeylessEntityTypeAttributeConvention

Açıklamalar

Daha fazla bilgi için bkz. model yapı kuralları .

Oluşturucular

KeylessEntityTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

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

Özellikler

Dependencies

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

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

Yöntemler

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

(Devralındığı yer: EntityTypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, KeylessAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Bir öznitelik varsa, modele bir varlık türü eklendikten sonra çağırılır.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Bir öznitelik varsa, modele bir varlık türü eklendikten sonra çağırılır.

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

Şunlara uygulanır