PropertyAttributeConventionBase<TAttribute>.ProcessPropertyAdded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>) |
Called after a property is added to the entity type. |
ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext) |
Called after a complex property is added to a type with an attribute on the associated CLR property or field. |
ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext) |
Called after a property is added to the entity type with an attribute on the associated CLR property or field. |
ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)
Called after a property is added to the entity type.
public virtual void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> context);
abstract member ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> -> unit
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> -> unit
Public Overridable Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, context As IConventionContext(Of IConventionPropertyBuilder))
Parameters
- propertyBuilder
- IConventionPropertyBuilder
The builder for the property.
Additional information associated with convention execution.
Implements
Applies to
ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext)
Called after a complex property is added to a type with an attribute on the associated CLR property or field.
protected virtual void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, TAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
abstract member ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * 'Attribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * 'Attribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overridable Sub ProcessPropertyAdded (propertyBuilder As IConventionComplexPropertyBuilder, attribute As TAttribute, clrMember As MemberInfo, context As IConventionContext)
Parameters
- propertyBuilder
- IConventionComplexPropertyBuilder
The builder for the property.
- attribute
- TAttribute
The attribute.
- clrMember
- MemberInfo
The member that has the attribute.
- context
- IConventionContext
Additional information associated with convention execution.
Applies to
ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext)
Called after a property is added to the entity type with an attribute on the associated CLR property or field.
protected abstract void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, TAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
abstract member ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * 'Attribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected MustOverride Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, attribute As TAttribute, clrMember As MemberInfo, context As IConventionContext)
Parameters
- propertyBuilder
- IConventionPropertyBuilder
The builder for the property.
- attribute
- TAttribute
The attribute.
- clrMember
- MemberInfo
The member that has the attribute.
- context
- IConventionContext
Additional information associated with convention execution.
Applies to
Entity Framework