IStoreModelConvention<T> 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個在模型建立後,對資料庫區段運作的慣例。
public interface IStoreModelConvention<T> : System.Data.Entity.ModelConfiguration.Conventions.IConvention where T : MetadataItem
type IStoreModelConvention<'T (requires 'T :> MetadataItem)> = interface
interface IConvention
Public Interface IStoreModelConvention(Of T)
Implements IConvention
類型參數
- T
此慣例所作用的元資料項目類型。
- 衍生
- 實作
方法
| 名稱 | Description |
|---|---|
| Apply(T, DbModel) |
將此慣例應用於模型中的一個項目。 |