共用方式為


TypeConventionConfiguration 類別

定義

允許根據模型中的實體類型執行輕量型慣例的組態。

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

方法

Configure(Action<ConventionTypeConfiguration>)

允許設定套用此慣例的實體類型。

Equals(Object)

允許根據模型中的實體類型執行輕量型慣例的組態。

GetHashCode()

允許根據模型中的實體類型執行輕量型慣例的組態。

GetType()

取得目前執行個體的 Type

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

篩選此慣例會根據述詞套用的實體類型,同時擷取設定期間稍後要使用的值。

ToString()

允許根據模型中的實體類型執行輕量型慣例的組態。

Where(Func<Type,Boolean>)

根據述詞篩選套用此慣例的實體類型。

適用於