NotMappedEntityTypeAttributeConvention Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
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>) |