NotMappedEntityTypeAttributeConvention Sınıf

Tanım

olan varlık türlerini yoksayan bir NotMappedAttribute kural.

public class NotMappedEntityTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.EntityTypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute>
type NotMappedEntityTypeAttributeConvention = class
    inherit EntityTypeAttributeConventionBase<NotMappedAttribute>
Public Class NotMappedEntityTypeAttributeConvention
Inherits EntityTypeAttributeConventionBase(Of NotMappedAttribute)
Devralma
NotMappedEntityTypeAttributeConvention

Açıklamalar

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

Oluşturucular

NotMappedEntityTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

NotMappedEntityTypeAttributeConvention öğ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, NotMappedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Bir özniteliği 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