IModelGenerationExtension Interface
Entity Framework 5.0
Exposes methods for customizing the generation of .edmx files.
Namespace: Microsoft.Data.Entity.Design.Extensibility
Assembly: Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)
The IModelGenerationExtension type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | OnAfterModelGenerated | Defines custom functionality that is executed after an .edmx file has been generated by the Entity Data Model Wizard. |
![]() | OnAfterModelUpdated | Defines functionality that is executed after an .edmx file has been updated by the Update Model Wizard. |
The IModelGenerationExtension interface exposes methods for customizing the functionality of the Entity Data Model Wizard and the Update Model Wizard. Specifically, the OnAfterModelGenerated and OnAfterModelUpdated methods allow you to customize the way the Entity Data Model Wizard and Update Model Wizard generate and update .edmx files.
For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit.
Show:
