RequiredPropertyAttributeConvention.ProcessPropertyAdded Yöntem

Tanım

Aşırı Yüklemeler

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

İlişkili CLR özelliğinde veya alanında bir öznitelikle varlık türüne özellik eklendikten sonra çağrılır.

ProcessPropertyAdded(IConventionComplexPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

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

Parametreler

attribute
RequiredAttribute
clrMember
MemberInfo

Şunlara uygulanır

ProcessPropertyAdded(IConventionPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

İlişkili CLR özelliğinde veya alanında bir öznitelikle varlık türüne özellik eklendikten sonra çağrılır.

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

Parametreler

propertyBuilder
IConventionPropertyBuilder

Özelliğin oluşturucusu.

attribute
RequiredAttribute

Öznitelik.

clrMember
MemberInfo

özniteliğine sahip olan üye.

context
IConventionContext

Kural yürütme ile ilişkili ek bilgiler.

Şunlara uygulanır