DeleteBehaviorAttributeConvention.ProcessPropertyAdded 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- propertyBuilder
- IConventionComplexPropertyBuilder
- attribute
- DeleteBehaviorAttribute
- clrMember
- MemberInfo
- context
- IConventionContext
适用于
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
与约定执行关联的其他信息。