RelationalColumnCommentAttributeConvention Класс

Определение

Соглашение, которое настраивает комментарий столбца для свойства или поля на основе примененного CommentAttribute.

public class RelationalColumnCommentAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.CommentAttribute>
type RelationalColumnCommentAttributeConvention = class
    inherit PropertyAttributeConventionBase<CommentAttribute>
Public Class RelationalColumnCommentAttributeConvention
Inherits PropertyAttributeConventionBase(Of CommentAttribute)
Наследование
RelationalColumnCommentAttributeConvention

Комментарии

Дополнительные сведения и примеры см. в разделе Соглашения о создании моделей .

Конструкторы

RelationalColumnCommentAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Создает новый экземпляр RelationalColumnCommentAttributeConvention.

Свойства

Dependencies

Зависимости для этой службы.

(Унаследовано от PropertyAttributeConventionBase<TAttribute>)
RelationalDependencies

Зависимости от реляционного поставщика для этой службы.

Методы

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Вызывается после добавления сложного свойства в типоподобный объект.

(Унаследовано от PropertyAttributeConventionBase<TAttribute>)
ProcessComplexPropertyFieldChanged(IConventionComplexPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

Вызывается после изменения резервного поля для сложного свойства.

(Унаследовано от PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

Вызывается после добавления сложного свойства к типу с атрибутом связанного свойства или поля CLR.

(Унаследовано от PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, CommentAttribute, MemberInfo, IConventionContext)

Вызывается после добавления свойства к типу сущности с атрибутом в связанном свойстве или поле CLR.

ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Вызывается после добавления свойства к типу сущности.

(Унаследовано от PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

Вызывается после добавления свойства к типу сущности с атрибутом в связанном свойстве или поле CLR.

(Унаследовано от PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyFieldChanged(IConventionPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

Вызывается после изменения резервного поля для свойства.

(Унаследовано от PropertyAttributeConventionBase<TAttribute>)

Применяется к