共用方式為


PropertyConventionConfiguration 類別

定義

允許根據模型中的屬性執行輕量型慣例的組態。

public class PropertyConventionConfiguration
type PropertyConventionConfiguration = class
Public Class PropertyConventionConfiguration
繼承
PropertyConventionConfiguration

方法

Configure(Action<ConventionPrimitivePropertyConfiguration>)

允許設定套用此慣例的屬性。

Equals(Object)

允許根據模型中的屬性執行輕量型慣例的組態。

GetHashCode()

允許根據模型中的屬性執行輕量型慣例的組態。

GetType()

取得目前執行個體的 Type

Having<T>(Func<PropertyInfo,T>)

篩選此慣例會根據述詞套用的屬性,同時擷取值以供稍後在設定期間使用。

ToString()

允許根據模型中的屬性執行輕量型慣例的組態。

Where(Func<PropertyInfo,Boolean>)

根據述詞篩選此慣例套用的屬性。

適用於