RelationalPropertyJsonPropertyNameAttributeConvention.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.
Called after a property is added to the entity type with an attribute on the associated CLR property or field.
protected override void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, System.Text.Json.Serialization.JsonPropertyNameAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * System.Text.Json.Serialization.JsonPropertyNameAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, attribute As JsonPropertyNameAttribute, clrMember As MemberInfo, context As IConventionContext)
Parameters
- propertyBuilder
- IConventionPropertyBuilder
The builder for the property.
- attribute
- JsonPropertyNameAttribute
The attribute.
- clrMember
- MemberInfo
The member that has the attribute.
- context
- IConventionContext
Additional information associated with convention execution.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.