Export (0) Print
Expand All

IModelTransformExtension Interface

Exposes methods for extending the loading and saving processes of .edmx files.

Namespace:  Microsoft.Data.Entity.Design.Extensibility
Assembly:  Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)

public interface IModelTransformExtension

The IModelTransformExtension type exposes the following members.

  NameDescription
Public methodOnAfterModelLoadedDefines functionality for extending the process by which an .edmx file is loaded by the Entity Data Model Designer.
Public methodOnBeforeModelSavedDefines functionality for extending the process by which an .edmx file is saved by the Entity Data Model Designer.
Top

The IModelTransormExtension interface exposes methods for extending the functionality of the Entity Data Model Designer (Entity Designer). Specifically, the OnAfterModelLoaded method allows you to customize an .edmx file after it has been loaded but before it has been displayed in the Entity Designer. The OnBeforeModelSaved method allows you to customize an .edmx file before it is saved. Note that the scope of these methods is limited to modifying .edmx files. To load and save files with a custom format, see IModelConversionExtension.

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:
© 2014 Microsoft