RelationalTableCommentAttributeConvention Sınıf

Tanım

Uygulanan 'a göre bir varlık türü için tablo açıklaması yapılandıran bir CommentAttribute kural.

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

Açıklamalar

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

Oluşturucular

RelationalTableCommentAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

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

Özellikler

Dependencies

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

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

Bu hizmet için ilişkisel sağlayıcıya özgü bağımlılıklar.

Yöntemler

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, CommentAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

(Devralındığı yer: EntityTypeAttributeConventionBase<TAttribute>)
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