Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IModelGenerationExtension Interface

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)
public interface IModelGenerationExtension

The IModelGenerationExtension type exposes the following members.

Public methodOnAfterModelGeneratedDefines custom functionality that is executed after an .edmx file has been generated by the Entity Data Model Wizard.
Public methodOnAfterModelUpdatedDefines 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.