Language

RequiredPropertyAttributeConvention.ProcessPropertyAdded メソッド

定義

オーバーロード

Name 説明
ProcessPropertyAdded(IConventionComplexPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

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

ProcessPropertyAdded(IConventionPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

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

ProcessPropertyAdded(IConventionComplexPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs

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

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)

パラメーター

propertyBuilder
IConventionComplexPropertyBuilder

プロパティのビルダー。

attribute
RequiredAttribute

属性。

clrMember
MemberInfo

属性を持つメンバー。

context
IConventionContext

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

適用対象

ProcessPropertyAdded(IConventionPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs
ソース:
RequiredPropertyAttributeConvention.cs

関連付けられた 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

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

適用対象