語言

PropertyConventionConfiguration 類別

定義

允許根據模型中的屬性執行輕量級約定配置。

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

方法

名稱 Description
Configure(Action<ConventionPrimitivePropertyConfiguration>)

允許配置此慣例適用的屬性。

Equals(Object)

允許根據模型中的屬性執行輕量級約定配置。

GetHashCode()

允許根據模型中的屬性執行輕量級約定配置。

GetType()

取得目前實例的 Type。

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

根據謂詞過濾此慣例適用的屬性,同時擷取一個值以便日後在配置時使用。

ToString()

允許根據模型中的屬性執行輕量級約定配置。

Where(Func<PropertyInfo,Boolean>)

根據謂詞過濾此慣例適用的屬性。

適用於