IEntityTypeAddedConvention 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表當實體類型加入模型時,應執行的操作。
public interface IEntityTypeAddedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IEntityTypeAddedConvention = interface
interface IConvention
Public Interface IEntityTypeAddedConvention
Implements IConvention
- 衍生
- 實作
備註
更多資訊與範例請參閱 模型建構慣例 。
方法
| 名稱 | Description |
|---|---|
| ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>) |
在模型中加入實體類型後呼叫。 |