語言

PropertyAttributeConventionBase<TAttribute>.ProcessPropertyAdded 方法

定義

多載

名稱 Description
ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

在物件類型中加入屬性後呼叫。

ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

在將複雜屬性加入帶有 CLR 屬性或欄位屬性的型別後呼叫。

ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

在實體類型中加入屬性並對應 CLR 屬性或欄位後呼叫。

ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs

在物件類型中加入屬性後呼叫。

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))

參數

propertyBuilder
IConventionPropertyBuilder

該物業的建商。

context
IConventionContext<IConventionPropertyBuilder>

與大會執行相關的額外資訊。

實作

適用於

ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs

在將複雜屬性加入帶有 CLR 屬性或欄位屬性的型別後呼叫。

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)

參數

propertyBuilder
IConventionComplexPropertyBuilder

該物業的建商。

attribute
TAttribute

屬性。

clrMember
MemberInfo

擁有該屬性的成員。

context
IConventionContext

與大會執行相關的額外資訊。

適用於

ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs
來源:
PropertyAttributeConventionBase.cs

在實體類型中加入屬性並對應 CLR 屬性或欄位後呼叫。

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)

參數

propertyBuilder
IConventionPropertyBuilder

該物業的建商。

attribute
TAttribute

屬性。

clrMember
MemberInfo

擁有該屬性的成員。

context
IConventionContext

與大會執行相關的額外資訊。

適用於