共用方式為


IModelGenerationExtension 成員

Exposes methods for customizing the generation of .edmx files.

下表列出 IModelGenerationExtension 型別公開的成員。

公用 方法

  名稱 說明
public method OnAfterModelGenerated Defines custom functionality that is executed after an .edmx file has been generated by the Entity Data Model Wizard.
public method OnAfterModelUpdated Defines functionality that is executed after an .edmx file has been updated by the Update Model Wizard.

頂端

另請參閱

參考

IModelGenerationExtension 介面
Microsoft.Data.Entity.Design.Extensibility 命名空間

其他資源

.edmx File Overview
Developing Visual Studio Extensions
Visual Studio Extensibility Developer Center