次の方法で共有


RequiredPropertyAttributeConvention.ProcessPropertyAdded メソッド

定義

オーバーロード

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

関連付けられた CLR プロパティまたはフィールドに属性を持つエンティティ型にプロパティが追加された後に呼び出されます。

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)

パラメーター

attribute
RequiredAttribute
clrMember
MemberInfo

適用対象

ProcessPropertyAdded(IConventionPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

関連付けられた CLR プロパティまたはフィールドに属性を持つエンティティ型にプロパティが追加された後に呼び出されます。

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)

パラメーター

propertyBuilder
IConventionPropertyBuilder

プロパティのビルダー。

attribute
RequiredAttribute

属性。

clrMember
MemberInfo

属性を持つメンバー。

context
IConventionContext

規則の実行に関連する追加情報。

適用対象