NotMappedMemberAttributeConvention Sınıf

Tanım

sahip varlık türlerinde üyeleri yoksayan bir NotMappedAttribute kural.

public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
type NotMappedMemberAttributeConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
Public Class NotMappedMemberAttributeConvention
Implements IEntityTypeAddedConvention
Devralma
NotMappedMemberAttributeConvention
Uygulamalar

Açıklamalar

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

Oluşturucular

NotMappedMemberAttributeConvention(ProviderConventionSetBuilderDependencies)

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

Özellikler

Dependencies

Bu hizmetin bağımlılıkları.

Yöntemler

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

ShouldIgnore(MemberInfo)

Verilen CLR üyesinin yoksayılacak olup olmadığını belirten bir değer döndürür.

Şunlara uygulanır