Sdílet prostřednictvím


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)

Syntax

'Declaration
Public Interface IModelTransformExtension
'Usage
Dim instance As IModelTransformExtension
public interface IModelTransformExtension
public interface class IModelTransformExtension
public interface IModelTransformExtension

Remarks

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.

See Also

Reference

IModelTransformExtension Members

Microsoft.Data.Entity.Design.Extensibility Namespace

Other Resources

.edmx File Overview (Entity Framework)

Developing Visual Studio Extensions

Visual Studio Extensibility Developer Center