RelationalTableCommentAttributeConvention Klasa

Definicja

Konwencja, która konfiguruje komentarz tabeli dla typu jednostki na podstawie zastosowanego CommentAttributeelementu .

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

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Konwencje tworzenia modeli .

Konstruktory

RelationalTableCommentAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Tworzy nowe wystąpienie klasy RelationalTableCommentAttributeConvention.

Właściwości

Dependencies

Zależności dla tej usługi.

(Odziedziczone po EntityTypeAttributeConventionBase<TAttribute>)
Dependencies

Zależności dla tej usługi.

(Odziedziczone po TypeAttributeConventionBase<TAttribute>)
RelationalDependencies

Zależności specyficzne dla dostawcy relacyjnego dla tej usługi.

Metody

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Wywoływana po dodaniu właściwości złożonej do obiektu przypominającego typ.

(Odziedziczone po TypeAttributeConventionBase<TAttribute>)
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

Wywoływane po dodaniu typu złożonego do modelu, jeśli ma atrybut.

(Odziedziczone po TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, CommentAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Wywoływane po dodaniu typu jednostki do modelu, jeśli ma atrybut.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Wywoływane po dodaniu typu jednostki do modelu.

(Odziedziczone po EntityTypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Wywoływane po dodaniu typu jednostki do modelu.

(Odziedziczone po TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Wywoływane po dodaniu typu jednostki do modelu, jeśli ma atrybut.

(Odziedziczone po EntityTypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Wywoływane po dodaniu typu jednostki do modelu, jeśli ma atrybut.

(Odziedziczone po TypeAttributeConventionBase<TAttribute>)
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

Próbuje zastąpić typ złożony typem jednostki.

(Odziedziczone po TypeAttributeConventionBase<TAttribute>)

Dotyczy