Поделиться через


DeleteBehaviorAttributeConvention.ProcessPropertyAdded Метод

Определение

Перегрузки

ProcessPropertyAdded(IConventionComplexPropertyBuilder, DeleteBehaviorAttribute, MemberInfo, IConventionContext)
ProcessPropertyAdded(IConventionPropertyBuilder, DeleteBehaviorAttribute, MemberInfo, IConventionContext)

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

ProcessPropertyAdded(IConventionComplexPropertyBuilder, DeleteBehaviorAttribute, MemberInfo, IConventionContext)

System.Object.ProcessPropertyAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder,Microsoft.EntityFrameworkCore.DeleteBehaviorAttribute,System.Reflection.MemberInfo,Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext)
protected override void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.DeleteBehaviorAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * Microsoft.EntityFrameworkCore.DeleteBehaviorAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionComplexPropertyBuilder, attribute As DeleteBehaviorAttribute, clrMember As MemberInfo, context As IConventionContext)

Параметры

clrMember
MemberInfo

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

ProcessPropertyAdded(IConventionPropertyBuilder, DeleteBehaviorAttribute, MemberInfo, IConventionContext)

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

protected override void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.DeleteBehaviorAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.DeleteBehaviorAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, attribute As DeleteBehaviorAttribute, clrMember As MemberInfo, context As IConventionContext)

Параметры

propertyBuilder
IConventionPropertyBuilder

Построитель для свойства .

attribute
DeleteBehaviorAttribute

Атрибут.

clrMember
MemberInfo

Элемент, имеющий атрибут .

context
IConventionContext

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

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